2021-07-10 17:49:06 +00:00
|
|
|
cpu 8086
|
|
|
|
org 0x3000
|
2021-06-22 13:05:09 +00:00
|
|
|
|
2021-06-26 15:55:47 +00:00
|
|
|
;Print a hello world.
|
2021-06-25 11:35:15 +00:00
|
|
|
mov si, hello
|
2021-06-22 13:05:09 +00:00
|
|
|
mov ah, 0x2
|
|
|
|
int 0x21
|
2021-07-10 17:49:06 +00:00
|
|
|
|
|
|
|
;Return to the system
|
2021-06-22 13:05:09 +00:00
|
|
|
int 0x20
|
|
|
|
|
|
|
|
;Data
|
2021-06-25 11:35:15 +00:00
|
|
|
hello db "Hello world!", 0x0
|