0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-17 19:45:11 +00:00

Written manual tests for LITr and LIT2r.

This commit is contained in:
Andrew Alderwick 2021-03-28 12:09:41 +01:00
parent cc89595aeb
commit 823e0e8cda

View file

@ -24,6 +24,8 @@
ADD FAIL [ add-needs-two 00 ] ADD FAIL [ add-needs-two 00 ]
#01 ADD FAIL [ add-needs-two 00 ] #01 ADD FAIL [ add-needs-two 00 ]
#01 #02 ADD #03 EQU PASS? [ add-result 00 ] #01 #02 ADD #03 EQU PASS? [ add-result 00 ]
LITr [ fe ] STHr #fe EQU PASS? [ litr 00 ]
LIT2r [ fe dc ] STH2r #fedc EQU2 PASS? [ lit2r 00 ]
#01 #02 ADD #ff EQU PASS? [ this-test-fails 00 ] #01 #02 ADD #ff EQU PASS? [ this-test-fails 00 ]
,finish JMP2 ,finish JMP2