qf/in.asm

16 lines
266 B
NASM
Raw Normal View History

2019-10-20 18:53:53 +00:00
: .EXIT ax &h4c00 | # mov &h21 int ;
: d" begin in@ dup [ in@ " lit ] != while outb! repeat drop ;
2019-10-20 18:53:53 +00:00
cs push \ copy code segment to data segment
ds pop
tell 1 + dx 0 # mov
ah 9 # movb
&h21 int
2019-10-20 18:53:53 +00:00
0 .EXIT
tell
d" Hello World!$"
&h100 + swap seek outw!