creating simple display tutorial

Arthur Paulino 2017-12-29 13:53:37 -03:00
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 |
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
```