littletransistor
New Member
Hey there,
I'm now playing with the EVBU and like the PIC, I'm now trying to light up one LED from a port.
As usual, this is from PORTB. But the LED is still lit on despite I sending in the 0000 into the PORTB.
Anything missing?
Here's the code:

I'm now playing with the EVBU and like the PIC, I'm now trying to light up one LED from a port.
As usual, this is from PORTB. But the LED is still lit on despite I sending in the 0000 into the PORTB.
Anything missing?
Here's the code:
Code:
ORG $2400
START LDAA #$FF
STAA $1004
BRA *