2021-07-10 17:49:06 +00:00
|
|
|
cpu 8086
|
|
|
|
org 0x3000
|
2021-06-26 15:55:47 +00:00
|
|
|
|
|
|
|
;Check for an empty tail
|
|
|
|
cmp byte [si], 0x0
|
|
|
|
je done
|
2021-07-10 17:49:06 +00:00
|
|
|
|
|
|
|
;Print the message
|
2021-06-26 15:55:47 +00:00
|
|
|
mov ah, 0x2
|
|
|
|
int 0x21
|
2021-07-10 17:49:06 +00:00
|
|
|
|
|
|
|
;Return to the system
|
2021-06-26 15:55:47 +00:00
|
|
|
done:
|
|
|
|
int 0x20
|