mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-24 13:05:51 +00:00
Updated Hardware: Hologram Projector (markdown)
parent
295b35a2de
commit
bdd5f39ad0
@ -16,11 +16,11 @@ Hardware ID: `0x0009`
|
|||||||
Note that the Hologram Projector will clear itself at the end of the tick, it is only necessary to use CLEAR when you want to cancel a DISPLAY command executed within the same tick.
|
Note that the Hologram Projector will clear itself at the end of the tick, it is only necessary to use CLEAR when you want to cancel a DISPLAY command executed within the same tick.
|
||||||
|
|
||||||
### Usage examples
|
### Usage examples
|
||||||
Display the number 10
|
Display the number 10, which will be shown as `0x000A`
|
||||||
```s
|
```assembly
|
||||||
.text
|
|
||||||
HWID_HOLO EQU 0x9
|
HWID_HOLO EQU 0x9
|
||||||
DISPLAY_HEX EQU 1
|
DISPLAY_HEX EQU 1
|
||||||
|
.text
|
||||||
MOV A, DISPLAY_HEX
|
MOV A, DISPLAY_HEX
|
||||||
MOV B, 10
|
MOV B, 10
|
||||||
HWI HWID_HOLO
|
HWI HWID_HOLO
|
||||||
|
Loading…
x
Reference in New Issue
Block a user