mirror of
https://github.com/irmen/prog8.git
synced 2025-01-12 19:29:50 +00:00
fixed code gen issue for uword >= comparison
This commit is contained in:
parent
a9b45630d7
commit
b092d1a5d3
@ -2822,6 +2822,7 @@ $label nop""")
|
||||
if(rightConstVal.number.toInt()!=0) {
|
||||
assignExpressionToRegister(left, RegisterOrPair.AY)
|
||||
code("#>${rightConstVal.number.toInt()}", "#<${rightConstVal.number.toInt()}")
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,7 +3,6 @@ TODO
|
||||
|
||||
For next compiler release (7.7)
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
- perhaps also optimize testNonzeroComparisonAndJump() ?
|
||||
- copying floats around: do it with a subroutine rather than 5 lda/sta pairs .
|
||||
is slower but floats are very slow already anyway and this should take a lot less program size.
|
||||
-> assignVariableFloat() + assignConstantFloat()
|
||||
|
Loading…
x
Reference in New Issue
Block a user