mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-24 13:05:51 +00:00
creating simple display tutorial
parent
f792c90ab2
commit
295b35a2de
@ -14,3 +14,15 @@ Hardware ID: `0x0009`
|
|||||||
| 2 | `DISPLAY_STRING` | `0 kJ` | Displays a zero-terminated Unicode string (max. 8 characters). Specify the address of the string with the X register |
|
| 2 | `DISPLAY_STRING` | `0 kJ` | Displays a zero-terminated Unicode string (max. 8 characters). Specify the address of the string with the X register |
|
||||||
|
|
||||||
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
|
||||||
|
Display the number 10
|
||||||
|
```s
|
||||||
|
.text
|
||||||
|
HWID_HOLO EQU 0x9
|
||||||
|
DISPLAY_HEX EQU 1
|
||||||
|
MOV A, DISPLAY_HEX
|
||||||
|
MOV B, 10
|
||||||
|
HWI HWID_HOLO
|
||||||
|
BRK
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user