From 63f90743655e729199b749c8feba2ffff4eff245 Mon Sep 17 00:00:00 2001 From: Alberto Restifo Date: Thu, 4 Jan 2018 23:36:25 +0100 Subject: [PATCH] Fix error in example --- Learn-by-Examples.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Learn-by-Examples.md b/Learn-by-Examples.md index d927429..c9674ec 100644 --- a/Learn-by-Examples.md +++ b/Learn-by-Examples.md @@ -50,7 +50,7 @@ HOLO_DISPLAY_COLOR EQU 4 MOV C, 0x0000 ;; clear register C HWI HWID_HOLO ;; this interrupt will set the color to: #0000FF [C:B] also know as red MOV A, HOLO_DISPLAY_DEC ;; MOV the constant HOLO_DISPLAY_DEC into register A - MOV B, [DISPLAYED_DECIMAL] ;; MOV the value that DISPLAYED_DECIMAL is pointing at into register B + MOV B, DISPLAYED_DECIMAL ;; MOV the value that DISPLAYED_DECIMAL is pointing at into register B HWI HWID_HOLO ;; ... BRK ;; halt execution until next tick ``` \ No newline at end of file