mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-21 03:26:44 +00:00
Updated Hardware: Hologram Projector (markdown)
parent
c873e95e82
commit
04296c489c
@ -16,8 +16,8 @@ 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, which will be shown as `0x000A`
|
|
||||||
```assembly
|
```assembly
|
||||||
|
; Display the number 10, which will be shown as `0x000A`
|
||||||
HWID_HOLO EQU 0x9
|
HWID_HOLO EQU 0x9
|
||||||
HOLO_DISPLAY_HEX EQU 1
|
HOLO_DISPLAY_HEX EQU 1
|
||||||
.text
|
.text
|
||||||
@ -27,8 +27,8 @@ HOLO_DISPLAY_HEX EQU 1
|
|||||||
BRK
|
BRK
|
||||||
```
|
```
|
||||||
|
|
||||||
Display "hello!"
|
|
||||||
```assembly
|
```assembly
|
||||||
|
; Display "hello!"
|
||||||
HWID_HOLO EQU 0x9
|
HWID_HOLO EQU 0x9
|
||||||
HOLO_DISPLAY_STRING EQU 2
|
HOLO_DISPLAY_STRING EQU 2
|
||||||
.data
|
.data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user