mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-20 02:56:44 +00:00
Fix error in example
parent
ee3bd5fec3
commit
63f9074365
@ -50,7 +50,7 @@ HOLO_DISPLAY_COLOR EQU 4
|
|||||||
MOV C, 0x0000 ;; clear register C
|
MOV C, 0x0000 ;; clear register C
|
||||||
HWI HWID_HOLO ;; this interrupt will set the color to: #0000FF [C:B] also know as red
|
HWI HWID_HOLO ;; this interrupt will set the color to: #0000FF [C:B] also know as red
|
||||||
MOV A, HOLO_DISPLAY_DEC ;; MOV the constant HOLO_DISPLAY_DEC into register A
|
MOV A, HOLO_DISPLAY_DEC ;; MOV the constant HOLO_DISPLAY_DEC into register A
|
||||||
MOV B, [DISPLAYED_DECIMAL] ;; MOV the value that DISPLAYED_DECIMAL is pointing at into register B
|
MOV B, DISPLAYED_DECIMAL ;; MOV the value that DISPLAYED_DECIMAL is pointing at into register B
|
||||||
HWI HWID_HOLO ;; ...
|
HWI HWID_HOLO ;; ...
|
||||||
BRK ;; halt execution until next tick
|
BRK ;; halt execution until next tick
|
||||||
```
|
```
|
Loading…
x
Reference in New Issue
Block a user