EttinOS/src/ECHO.ASM

13 lines
151 B
NASM
Raw Normal View History

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