A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
16
Task/Hello-world-Text/8086-Assembly/hello-world-text.8086
Normal file
16
Task/Hello-world-Text/8086-Assembly/hello-world-text.8086
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
DOSSEG
|
||||
.MODEL TINY
|
||||
.DATA
|
||||
TXT DB "Goodbye, World!$"
|
||||
.CODE
|
||||
START:
|
||||
MOV ax, @DATA
|
||||
MOV ds, ax
|
||||
|
||||
MOV ah, 09h ; prepare output function
|
||||
MOV dx, OFFSET TXT ; set offset
|
||||
INT 21h ; output string TXT
|
||||
|
||||
MOV AX, 4C00h ; go back to DOS
|
||||
INT 21h
|
||||
END START
|
||||
Loading…
Add table
Add a link
Reference in a new issue