summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2020-12-09 11:28:59 -0500
committermrb0nk500 <b0nk@b0nk.xyz>2020-12-09 11:28:59 -0500
commitb1cf9d8a524edab9363bb53c0fd70457a8bdbd76 (patch)
treedb1c1f9eeb95d112ec4a7337bd53b4c7dad8880e /test
parent464130cf4b19578f45fc51a6a37453261bdf37f9 (diff)
- Implemented support for the `set` instruction in the
assembler. The main thing I had to do was implement the parsing of the condition code token, but that wasn't hard to do, since I had already done the lexing part already. The next thing to do, will be to design a calling convention for Sux.
Diffstat (limited to 'test')
-rw-r--r--test/ortho.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ortho.s b/test/ortho.s
index 83f3554..312c8eb 100644
--- a/test/ortho.s
+++ b/test/ortho.s
@@ -23,6 +23,7 @@ loop:
inc.q count
; mov.q e, count
mov (b+e), b
+ set a, eq
mov a, (b+e)
bra loop