mirror of
https://github.com/irmen/prog8.git
synced 2024-08-10 14:29:06 +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
|
sec
|
||||||
sbc P8ESTACK_LO+1,x
|
sbc P8ESTACK_LO+1,x
|
||||||
sta $name
|
sta $name
|
||||||
bcc +
|
bcs +
|
||||||
dec $name+1
|
dec $name+1
|
||||||
+""")
|
+""")
|
||||||
else
|
else
|
||||||
|
@ -17,7 +17,7 @@ main {
|
|||||||
txt.chrout('\n')
|
txt.chrout('\n')
|
||||||
|
|
||||||
uw = 1000
|
uw = 1000
|
||||||
uw -= ub+ub2 ; TODO FIX COMPUTATION ERROR
|
uw -= ub+ub2
|
||||||
txt.print_uw(uw)
|
txt.print_uw(uw)
|
||||||
txt.chrout('\n')
|
txt.chrout('\n')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user