(stdlib) Added scmp test

This commit is contained in:
Devine Lu Linvega 2024-01-09 20:27:57 -08:00
parent 94abf75cfb
commit 1203728d65
1 changed files with 9 additions and 1 deletions

View File

@ -20,7 +20,8 @@
@tests [
=test-dec1 =test-dec2 =test-dec3 =test-dec4
=test-hex1 =test-hex2 =test-hex3 =test-hex4
=test-scmp1 =test-scmp2 =test-scmp3 =test-scmp4 ] &end
=test-scmp1 =test-scmp2 =test-scmp3 =test-scmp4
=test-scpy1 ] &end
@test-dec1
#0a18 DEO
@ -69,6 +70,13 @@
STH2r { "text 00 }
STH2r scmp #00 EQU JMP2r
@test-scpy1
#0a18 DEO
{ "hello 00 }
STH2kr ;&buf <scpy>
STH2r ;&buf scmp #01 EQU JMP2r
&buf $10
(
@|stdlib )