(opctest) Success code when no errors
This commit is contained in:
parent
b695b55c49
commit
8ff798f4cd
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
@Zeropage &byte $1 &short $2
|
@Zeropage &byte $1 &short $2
|
||||||
|
|
||||||
|0100
|
|0100 @on-reset ( -> )
|
||||||
|
|
||||||
( part 1
|
( part 1
|
||||||
> LIT2: Puts a short on the stack
|
> LIT2: Puts a short on the stack
|
||||||
|
@ -55,9 +55,9 @@
|
||||||
POP2 POP2
|
POP2 POP2
|
||||||
STH2r ;Dict/done pstr
|
STH2r ;Dict/done pstr
|
||||||
|
|
||||||
( halt )
|
( end )
|
||||||
|
|
||||||
#010f DEO
|
[ LIT &fail 80 ] #0f DEO
|
||||||
|
|
||||||
BRK
|
BRK
|
||||||
|
|
||||||
|
@ -65,7 +65,8 @@ BRK
|
||||||
|
|
||||||
LDA2k JSR2 DUP ?&pass
|
LDA2k JSR2 DUP ?&pass
|
||||||
;Dict/failed pstr
|
;Dict/failed pstr
|
||||||
[ LIT2 &name $2 ] pstr/ #0a18 DEO JMP2r
|
[ LIT2 &name $2 ] pstr/ #0a18 DEO
|
||||||
|
#01 ;on-reset/fail STA JMP2r
|
||||||
&pass
|
&pass
|
||||||
|
|
||||||
JMP2r
|
JMP2r
|
||||||
|
@ -167,7 +168,7 @@ JMP2r
|
||||||
&d #00 #ff EQU [ #00 ] EQU JMP2r
|
&d #00 #ff EQU [ #00 ] EQU JMP2r
|
||||||
&e #f801 #f801 EQU2 [ #01 ] EQU JMP2r
|
&e #f801 #f801 EQU2 [ #01 ] EQU JMP2r
|
||||||
&f #01f8 #01f8 EQU2 [ #01 ] EQU JMP2r
|
&f #01f8 #01f8 EQU2 [ #01 ] EQU JMP2r
|
||||||
&g #f801 #01f8 EQU2 [ #00 ] EQU JMP2r ( HERE )
|
&g #f801 #01f8 EQU2 [ #00 ] EQU JMP2r
|
||||||
&h #01f8 #f801 EQU2 [ #00 ] EQU JMP2r
|
&h #01f8 #f801 EQU2 [ #00 ] EQU JMP2r
|
||||||
@op-neq ;Dict/neq !set
|
@op-neq ;Dict/neq !set
|
||||||
&a #f8 #f8 NEQ [ #00 ] EQU JMP2r
|
&a #f8 #f8 NEQ [ #00 ] EQU JMP2r
|
||||||
|
|
Loading…
Reference in New Issue