21 lines
239 B
NASM
Executable file
21 lines
239 B
NASM
Executable file
cs push \ copy code segment to data segment
|
|
ds pop
|
|
|
|
\ jne not yet working
|
|
\ :> loop
|
|
\ cx 3 # mov
|
|
|
|
:> msg
|
|
dx msg mov
|
|
ah 9 # movb
|
|
&h21 int
|
|
|
|
\ cx dec
|
|
\ loop jne
|
|
|
|
0 .EXIT
|
|
|
|
msg <:
|
|
d" Hello World!$"
|
|
|