User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
base:16-bit_comparison [2020-10-24 14:05]
verz [TWW Method]
base:16-bit_comparison [2021-09-13 17:23]
tww New version didn't pass all validation tests. Reverted to old version.
Line 4: Line 4:
-TWW method:+16 bit equivalent of the CMP OPC: 
 <code> <code>
Line 17: Line 18:
     lda val1     lda val1
-    ;sec +    sec 
-    ;sbc val2 +    sbc val2
-    cmp val2+
     php     php
     lda val1+1     lda val1+1
Line 27: Line 27:
     sta temp     sta temp
     pla     pla
-    ;and #%00000010  ; useless because of the following ORA+    and #%00000010
     ora #%11111101     ora #%11111101
     and temp     and temp
Line 40: Line 40:
 </code> </code>
base/16-bit_comparison.txt · Last modified: 2021-09-13 17:23 by tww