nand2/04_Machine_Language/leds.asm

13 lines
138 B
NASM

// led.asm
// execute an infinite loop to
// read the button state and output to led
// Put your code here:
@BUT
D=M
@LED
M=!D
@0
0;JMP