EttinOS/src/ECHO.ASM

13 lines
142 B
NASM

CPU 8086
ORG 0x3000
;Echo the tail
;Check for an empty tail
cmp byte [si], 0x0
je done
;Echo
mov ah, 0x2
int 0x21
done:
int 0x20