how can i get led on using assembly code
in my class we only have learned about ld, out and heard that we can turn led using only ld out
there are 8 leds at board and i have to turn 4 leds on
ORG 0000H
LD A,00000001B
OUT (00000011B),A
DEC A
LD A,00000010B
END
this is what we have done in class and i still dont get what i have to do...
we use z80
in my class we only have learned about ld, out and heard that we can turn led using only ld out
there are 8 leds at board and i have to turn 4 leds on
ORG 0000H
LD A,00000001B
OUT (00000011B),A
DEC A
LD A,00000010B
END
this is what we have done in class and i still dont get what i have to do...
we use z80