From bdd5f39ad0c83615e149df28b28f5541732addbd Mon Sep 17 00:00:00 2001 From: Arthur Paulino Date: Fri, 29 Dec 2017 15:17:50 -0300 Subject: [PATCH] Updated Hardware: Hologram Projector (markdown) --- Hardware:-Hologram-Projector.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Hardware:-Hologram-Projector.md b/Hardware:-Hologram-Projector.md index 224557f..617e68f 100644 --- a/Hardware:-Hologram-Projector.md +++ b/Hardware:-Hologram-Projector.md @@ -16,13 +16,13 @@ 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. ### Usage examples -Display the number 10 -```s +Display the number 10, which will be shown as `0x000A` +```assembly +HWID_HOLO EQU 0x9 +DISPLAY_HEX EQU 1 .text - HWID_HOLO EQU 0x9 - DISPLAY_HEX EQU 1 - MOV A, DISPLAY_HEX - MOV B, 10 - HWI HWID_HOLO - BRK + MOV A, DISPLAY_HEX + MOV B, 10 + HWI HWID_HOLO + BRK ``` \ No newline at end of file