mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Added tosicmp0, a special entry point that clears the X register.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4005 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
fdfa1678d4
commit
6a26b6e3b4
@ -5,10 +5,13 @@
|
||||
; Integer compare function - used by the compare operators
|
||||
;
|
||||
|
||||
.export tosicmp
|
||||
.importzp sp, sreg
|
||||
.export tosicmp, tosicmp0
|
||||
.importzp sp, sreg
|
||||
|
||||
|
||||
tosicmp0:
|
||||
ldx #$00
|
||||
|
||||
tosicmp:
|
||||
sta sreg
|
||||
stx sreg+1 ; Save ax
|
||||
|
Loading…
x
Reference in New Issue
Block a user