2 ; Ullrich von Bassewitz, 10.12.1998
4 ; Integer compare function - used by the compare operators
17 lda (sp),y ; Get high byte
20 lda (sp),y ; Get low byte
22 ; Inline incsp2 for better performance
33 @L2: cpx sreg+1 ; Compare high byte
35 cmp sreg ; Compare low byte
38 lda #$FF ; Set the N flag
41 @L4: lda #$01 ; Clear the N flag