diff --git a/Hardware:-Hologram-Projector.md b/Hardware:-Hologram-Projector.md index e2dfaae..f16a252 100644 --- a/Hardware:-Hologram-Projector.md +++ b/Hardware:-Hologram-Projector.md @@ -23,13 +23,17 @@ Note that the Hologram Projector will clear itself at the end of the tick, it is 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 - HWI HWID_HOLO ;; create an hardware interrupt which will do the magic of displaying - BRK ;; halt execution for the rest of this tick + 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 + HWI HWID_HOLO ;; create an hardware interrupt which + ;; will do the magic of displaying + BRK ;; halt execution for the rest of this tick ``` ```assembly ; Displaying the string "hello!"