mirror of
https://github.com/irmen/prog8.git
synced 2024-11-23 07:32:10 +00:00
fix computation error of word - byte
This commit is contained in:
parent
0a330b9288
commit
378dcfe351
@ -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
|
||||
|
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user