mirror of
https://github.com/irmen/prog8.git
synced 2024-10-09 13:55:19 +00:00
fix wrong code for signed word >= 0
This commit is contained in:
parent
7d4695c5b2
commit
80ab552ad8
@ -665,13 +665,10 @@ greaterequalzero_sb .proc
|
|||||||
|
|
||||||
greaterequalzero_sw .proc
|
greaterequalzero_sw .proc
|
||||||
lda P8ESTACK_HI+1,x
|
lda P8ESTACK_HI+1,x
|
||||||
|
bpl equalzero_b._true
|
||||||
bmi equalzero_b._false
|
bmi equalzero_b._false
|
||||||
ora P8ESTACK_LO+1,x
|
|
||||||
beq equalzero_b._true
|
|
||||||
bne equalzero_b._false
|
|
||||||
.pend
|
.pend
|
||||||
|
|
||||||
|
|
||||||
memcopy16_up .proc
|
memcopy16_up .proc
|
||||||
; -- copy memory UP from (P8ZP_SCRATCH_W1) to (P8ZP_SCRATCH_W2) of length X/Y (16-bit, X=lo, Y=hi)
|
; -- copy memory UP from (P8ZP_SCRATCH_W1) to (P8ZP_SCRATCH_W2) of length X/Y (16-bit, X=lo, Y=hi)
|
||||||
; clobbers register A,X,Y
|
; clobbers register A,X,Y
|
||||||
|
@ -3,7 +3,6 @@ TODO
|
|||||||
|
|
||||||
For next release
|
For next release
|
||||||
^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^
|
||||||
- uword x, ubyte radius; (x as word - radius) > 0 is ok , but (x as word - radius) >=0 is incorrect?
|
|
||||||
- add item to XZeropage that enables an option that if zeropage=FULL or KERNALSAFE, moves the cx16 virtual registers to ZP, same location as on x16
|
- add item to XZeropage that enables an option that if zeropage=FULL or KERNALSAFE, moves the cx16 virtual registers to ZP, same location as on x16
|
||||||
(can be done on C64 only for now) Remove those addresses from the ZP free pool = allocate them in ZP like Cx16Zeropage does
|
(can be done on C64 only for now) Remove those addresses from the ZP free pool = allocate them in ZP like Cx16Zeropage does
|
||||||
Adapt the code in AstPreprocessor that relocates the registers as well.
|
Adapt the code in AstPreprocessor that relocates the registers as well.
|
||||||
|
Loading…
Reference in New Issue
Block a user