From f338a29ba3939ccf4c455ca7fc9233a3844466b1 Mon Sep 17 00:00:00 2001 From: Ross Wilson Date: Wed, 27 Jan 2016 10:45:50 +0700 Subject: [PATCH] More staged test files --- pyasm/test.asm | 19 ++----------------- pyasm/test2.asm | 17 +++++++++++++++++ pyasm/test3.asm | 8 ++++++++ 3 files changed, 27 insertions(+), 17 deletions(-) create mode 100644 pyasm/test2.asm create mode 100644 pyasm/test3.asm diff --git a/pyasm/test.asm b/pyasm/test.asm index a02aa42..2ac2037 100644 --- a/pyasm/test.asm +++ b/pyasm/test.asm @@ -1,21 +1,6 @@ -; a test comment on the first line +; a very simple 'smoke-test' file org 0100 -start law 10 - lac start2 ; comment - lac .-2 -; lac undef ; another comment - hlt - -fred equ 2 ; EQU - -; org 128 + 1 - org . + 010 - -start2 - lac start + 2 ; comment - nop -string data 'ascii' - hlt +start hlt end start diff --git a/pyasm/test2.asm b/pyasm/test2.asm new file mode 100644 index 0000000..d12e091 --- /dev/null +++ b/pyasm/test2.asm @@ -0,0 +1,17 @@ +; a test comment on the first line + org 0100 + +start law 10 + lac start2 ; comment + lac .-2 + hlt + +fred equ 2 ; EQU + + org . + 010 +start2 + lac start + 2 ; comment +string data 'ascii' +end hlt + + end start diff --git a/pyasm/test3.asm b/pyasm/test3.asm new file mode 100644 index 0000000..922de58 --- /dev/null +++ b/pyasm/test3.asm @@ -0,0 +1,8 @@ +; a file containing an undef + org 0100 + +start law 10 + lac undef ; another comment + hlt + + end start