ADR @readLocation - set the reading address
LDA - read
ADR @writeLocation - set the writing address
STA - write
HLT - stop
readLocation:
12
writeLocation:
0
Press compile to compile the code, then press make QR code to make a QR code.
| Reg | Dec | Bin |
|---|---|---|
| A | 0 | 00000000 |
| B | 0 | 00000000 |
| Q | 0 | 00000000 |
| H | 0 | 00000000 |
| L | 0 | 00000000 |
| S | 255 | 11111111 |
| P | 0 | 0000000000000000 |
| C | 0 | 0 |