13 lines
140 B
NASM
13 lines
140 B
NASM
|
CPU 8086
|
||
|
ORG 0x2000
|
||
|
|
||
|
;Echoes its command tail
|
||
|
;Check for an empty tail
|
||
|
cmp byte [si], 0x0
|
||
|
je done
|
||
|
;Echo
|
||
|
mov ah, 0x2
|
||
|
int 0x21
|
||
|
done:
|
||
|
int 0x20
|