From 15a7b50f566a3d08fd5a12d370ad858f9e8990aa Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Thu, 11 Jan 2024 19:30:15 -0800 Subject: [PATCH] Test for coverage --- examples/coverage.tal | 5 ++--- makefile | 7 ++----- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/examples/coverage.tal b/examples/coverage.tal index 6e20fda..3f00792 100644 --- a/examples/coverage.tal +++ b/examples/coverage.tal @@ -57,7 +57,6 @@ JMP2r POP2 #000a DIV2 SWPr INCr STHkr ?&w POP2r POP2 POP2 JMP2r -$100 @label2 - -~examples/include.tal +$20 @label2 +@hello-word "Hello 20 "World! 0a $1 diff --git a/makefile b/makefile index 01ad548..830fbd7 100644 --- a/makefile +++ b/makefile @@ -15,13 +15,10 @@ lint: bal: @ ${BAL} src/${ID}.tal run: all -# @ ${EMU} ${ROM} src/${ID}.tal ${ROM} -# @ ${EMU} ${ROM} examples/hello.tal bin/hello.rom -# @ ${EMU} bin/hello.rom - @ uxnasm examples/hello.tal bin/a.rom + @ uxnasm examples/coverage.tal bin/a.rom @ uxncli ~/roms/hx.rom bin/a.rom @ uxncli bin/a.rom - @ cat examples/hello.tal | ${EMU} ${ROM} > bin/b.rom + @ cat examples/coverage.tal | ${EMU} ${ROM} > bin/b.rom @ uxncli ~/roms/hx.rom bin/b.rom @ uxncli bin/b.rom install: all