diff --git a/cpclib-basm/tests/asm/good_if2.asm b/cpclib-basm/tests/asm/good_if2.asm new file mode 100644 index 00000000..e198f37a --- /dev/null +++ b/cpclib-basm/tests/asm/good_if2.asm @@ -0,0 +1,13 @@ + + org 0x100 + + if 0 == 1 + fail "not reachable" + elseifdef toto + fail "not reachable" + elseifndef toto + print "reached" + db 1 + else + fail "not reachable" + endif \ No newline at end of file diff --git a/cpclib-basm/tests/asm/good_include5.asm b/cpclib-basm/tests/asm/good_include5.asm new file mode 100644 index 00000000..a83809f1 --- /dev/null +++ b/cpclib-basm/tests/asm/good_include5.asm @@ -0,0 +1,12 @@ + org 0x4000 + + ld b, test + djnz $ + + include good_db.asm + + jp $ + + binclude good_db.asm + +test equ 5 \ No newline at end of file