Lines Matching defs:crt_putchr
40 .globl crt_putchr
42 # void crt_putchr(int c)
44 crt_putchr: movb 0x4(%esp,1),%al # Get character
51 crt_putchr.1: cmpb $0xa,%al # New line?
52 je crt_putchr.2 # Yes
58 jmp crt_putchr.3
59 crt_putchr.2: movw %dx,%ax
65 crt_putchr.3: cmpw $SCR_ROW*SCR_COL*2,%dx
66 jb crt_putchr.4 # No
77 crt_putchr.4: movw %dx,(%ebx) # Update position
79 crt_putchr.5: inb $0x60,%al # Move cursor
81 jz crt_putchr.5