;*********************** ;**This program loads the number FF (binary=1111 1111) ;**into accumulator A and then stores the contents into ;**port B (memory location 1004h) ;**On the target board, port B is the LED bank ;**The number FF should turn all lights on ;*********************** PORTB EQU 1004H ;Label the number 1004h LIGHTS EQU 00AAH ;Label the number 00FFh ORG 0C000H ;Originate program at 0c000h LDAA #LIGHTS ;Load FF into Accumulator A STAA PORTB ;Store in PortB END