Skip to content

Commit

Permalink
Add missing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Krusty/Benediction committed Jan 15, 2024
1 parent 9a95e41 commit 37d815c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
13 changes: 13 additions & 0 deletions cpclib-basm/tests/asm/good_if2.asm
Original file line number Diff line number Diff line change
@@ -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
12 changes: 12 additions & 0 deletions cpclib-basm/tests/asm/good_include5.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
org 0x4000

ld b, test
djnz $

include good_db.asm

jp $

binclude good_db.asm

test equ 5

0 comments on commit 37d815c

Please sign in to comment.