2 ; Ullrich von Bassewitz, 10.12.1998
4 ; Integer compare function - used by the compare operators
16 lda (sp),y ; Get high byte
19 lda (sp),y ; Get low byte
21 ; Inline incsp2 for better performance
32 @L2: cpx sreg+1 ; Compare high byte
34 cmp sreg ; Compare low byte
37 lda #$FF ; Set the N flag
40 @L4: lda #$01 ; Clear the N flag