2023-01-11 11:13:09 +01:00
|
|
|
// led.asm
|
|
|
|
// execute an infinite loop to
|
|
|
|
// read the button state and output to led
|
|
|
|
|
|
|
|
// Put your code here:
|
2024-10-17 14:36:58 -04:00
|
|
|
|
|
|
|
@BUT
|
2024-11-23 16:56:29 +05:30
|
|
|
D=!M
|
2024-10-17 14:36:58 -04:00
|
|
|
@LED
|
2024-11-23 16:56:29 +05:30
|
|
|
M=D
|
2024-10-17 14:36:58 -04:00
|
|
|
@0
|
|
|
|
0;JMP
|