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
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@
ADD FAIL [ add-needs-two 00 ]
#01 ADD FAIL [ add-needs-two 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 ]
,finish JMP2