diff --git a/cli/stdlib/stdlib.tal b/cli/stdlib/stdlib.tal index 5496280..c03445c 100644 --- a/cli/stdlib/stdlib.tal +++ b/cli/stdlib/stdlib.tal @@ -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 + STH2r ;&buf scmp #01 EQU JMP2r + &buf $10 + ( @|stdlib )