msg
This commit is contained in:
parent
c2603b9692
commit
1331ccdff5
20
dos/main.k
20
dos/main.k
|
@ -7,10 +7,26 @@
|
|||
main:
|
||||
enter
|
||||
|
||||
mov ax0, .hw
|
||||
mov ax0, .msg
|
||||
call print
|
||||
|
||||
call exit
|
||||
|
||||
leave
|
||||
ret
|
||||
|
||||
.msg = "Hello World :)\n"
|
||||
|
||||
;
|
||||
; Exit function
|
||||
;
|
||||
exit:
|
||||
enter
|
||||
|
||||
mov ax0, .msg
|
||||
call print
|
||||
|
||||
leave
|
||||
ret
|
||||
|
||||
.hw = "Hello World\n:)"
|
||||
.msg = "Goodbye World :(\n"
|
||||
|
|
Loading…
Reference in New Issue