]> git.sur5r.net Git - cc65/blobdiff - libsrc/runtime/icmp.s
no TGI_ERR_NO_MEM or TGI_ERR_NO_IOCB anymore: replaced by TGI_ERR_NO_RES
[cc65] / libsrc / runtime / icmp.s
index c3c37e7269ecb89a5886dd166c03eea5e25080d4..70bcb76bda607c023aba4e22ce46f74106a3d40e 100644 (file)
@@ -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