
;------------------------------------------------------------
;Allocation info for local variables in function 'sub'
;------------------------------------------------------------
;y                         Allocated with name '_sub_PARM_2'
;x                         Allocated to registers r6 r7 
;------------------------------------------------------------
; sub.c:1: char sub (int x, int y)
; -----------------------------------------
;  function sub
; -----------------------------------------
_sub:
        mov     r6,dpl
        mov     r7,dph
;       sub.c:3: return x < y;
        clr     c
        mov     a,r6
        subb    a,_sub_PARM_2
        mov     a,r7
        xrl     a,#0x80
        mov     b,(_sub_PARM_2 + 1)
        xrl     b,#0x80
        subb    a,b
        clr     a
        rlc     a
        mov     dpl,a
        ret
