repo.or.cz
/
trinary.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added a few comments and fixed one bug in base_converter.
[trinary.git]
/
asm
/
cmptest.t
blob
ab784088947ad957c84dd2b0adbf6ea4e3c84833
1
; Test cmp (compare) instruction and lwi (load word immediate)
2
lwi -3 ; load A with 0i0
3
cmp in, a ; compare A to IN (probably 10i)
4
cmp a, in ; now S should be opposite