From c90ef0c000e982c070091c3f0aebd10e64f39669 Mon Sep 17 00:00:00 2001 From: Kevin Ramharak Date: Wed, 3 Jan 2018 14:23:42 +0100 Subject: [PATCH] Updated Hardware: Hologram Projector (markdown) --- Hardware:-Hologram-Projector.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Hardware:-Hologram-Projector.md b/Hardware:-Hologram-Projector.md index e41b747..e2dfaae 100644 --- a/Hardware:-Hologram-Projector.md +++ b/Hardware:-Hologram-Projector.md @@ -20,13 +20,11 @@ Note that the Hologram Projector will clear itself at the end of the tick, it is ### Usage examples ```assembly ; Displaying the hexadecimal 0x000A -HWID_HOLO EQU 0x9 ;; setup constants +HWID_HOLO EQU 0x9 ;; setup constants HOLO_DISPLAY_HEX EQU 1 .data - DISPLAYED_HEX EQU 0X000A ;; create a word in - ;; memory called DISPLAYED_HEX - ;; and set its value to - ;; 0x000A + DISPLAYED_HEX EQU 0X000A ;; create a word in memory called DISPLAYED_HEX + ;; and set its value to 0x000A .text MOV A, HOLO_DISPLAY_HEX ;; MOV the constant HOLO_DISPLAY_HEX into register A MOV B, [DISPLAYED_HEX] ;; MOV the value inside the memory spot DISPLAYED_HEX into register B