Changed name for long compare subroutine

git-svn-id: svn://svn.cc65.org/cc65/trunk@992 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2001-10-01 22:21:16 +00:00
parent b08adf831d
commit c4a5744651
12 changed files with 32 additions and 29 deletions

View File

@@ -4,12 +4,13 @@
; Long int compare function - used by the compare operators
;
.export lcmp
.export toslcmp
.import incsp4
.importzp sp, sreg, ptr1
lcmp: sta ptr1
toslcmp:
sta ptr1
stx ptr1+1 ; EAX now in sreg:ptr1
ldy #$03
@@ -47,4 +48,4 @@ L4: php ; Save flags
plp ; Restore flags
rts