commit 823e0e8cda87e1aa6af01b1b2560239d0841596c
parent cc89595aebd2509bc511f9ed92ea44e6e3eaed8b
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date: Sun, 28 Mar 2021 12:09:41 +0100
Written manual tests for LITr and LIT2r.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/projects/tests/opcodes.usm b/projects/tests/opcodes.usm
@@ -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