diff options
author | Andrej Shadura <andrewsh@debian.org> | 2018-05-08 15:59:31 +0200 |
---|---|---|
committer | Andrej Shadura <andrewsh@debian.org> | 2018-05-08 15:59:31 +0200 |
commit | 47aa8b00b2b11df13a100489e0f904a4947177ef (patch) | |
tree | b35c9acc778ea2f761f3c549f7bee2f4491b3144 /demo/demo1.asm | |
parent | 5b8466f7fae0e071c0f4eda13051c93313910028 (diff) |
Import Upstream version 1.4.7
Diffstat (limited to 'demo/demo1.asm')
-rw-r--r-- | demo/demo1.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/demo/demo1.asm b/demo/demo1.asm index 3ba82dd..0587166 100644 --- a/demo/demo1.asm +++ b/demo/demo1.asm @@ -1,11 +1,11 @@ -; MCU 8051 IDE - Demostration code +; MCU 8051 IDE - Demonstration code ; Macro instructions, conditional compilation and constants ; Try tab "Graph" on bottom panel ; Press F2 and F6 to run the program (start simulator and animate) $TITLE('DEMO 2') ; Set title for code listing -$DATE(36/-4/1907) ; Set date for code listing +$DATE(11/29/1182) ; Set date for code listing (the 29th of November 1182, welcome back to the Medieval Era) ; Constant definitions ; -------------------- @@ -16,10 +16,10 @@ inc_dec equ 100 / X ; Flag: Increment/Decrement counter cseg at 1FFh ; Code segment starts at 0x1FF something: db 4d ; Reserve 4 bytes in this segment -; Macro instructions +; Macro instructions ; -------------------- -;; Shift the given registeres +;; Shift the given registers shift macro reg0, reg1 ; Increment / Decrement counter @@ -42,7 +42,7 @@ shift macro reg0, reg1 mov reg0, A endm -; Program initilization +; Program initialization ; -------------------- org 0h sjmp start |