fix computation error of word - byte

This commit is contained in:
Irmen de Jong 2020-11-24 22:22:49 +01:00
parent 0a330b9288
commit 378dcfe351
2 changed files with 2 additions and 2 deletions

View File

@ -1207,7 +1207,7 @@ internal class AugmentableAssignmentAsmGen(private val program: Program,
sec
sbc P8ESTACK_LO+1,x
sta $name
bcc +
bcs +
dec $name+1
+""")
else

View File

@ -17,7 +17,7 @@ main {
txt.chrout('\n')
uw = 1000
uw -= ub+ub2 ; TODO FIX COMPUTATION ERROR
uw -= ub+ub2
txt.print_uw(uw)
txt.chrout('\n')