14 lines
166 B
NASM
14 lines
166 B
NASM
cpu 8086
|
|
org 0x3000
|
|
|
|
;Check for an empty tail
|
|
cmp byte [si], 0x0
|
|
je done
|
|
|
|
;Print the message
|
|
mov ah, 0x2
|
|
int 0x21
|
|
|
|
;Return to the system
|
|
done:
|
|
int 0x20
|