2019-05-30 12:27:13 +02:00
|
|
|
; The OS/K Team licences this file to you under the MIT license.
|
|
|
|
; See the LICENSE file in the project root for more information.
|
|
|
|
|
|
|
|
;
|
|
|
|
; Main function
|
|
|
|
;
|
|
|
|
main:
|
|
|
|
enter
|
|
|
|
|
2019-05-30 12:39:24 +02:00
|
|
|
mov ax0, .msg
|
|
|
|
call print
|
|
|
|
|
|
|
|
call exit
|
|
|
|
|
|
|
|
leave
|
|
|
|
ret
|
|
|
|
|
|
|
|
.msg = "Hello World :)\n"
|
|
|
|
|
|
|
|
;
|
|
|
|
; Exit function
|
|
|
|
;
|
|
|
|
exit:
|
|
|
|
enter
|
|
|
|
|
|
|
|
mov ax0, .msg
|
2019-05-30 12:27:13 +02:00
|
|
|
call print
|
|
|
|
|
|
|
|
leave
|
|
|
|
ret
|
|
|
|
|
2019-05-30 12:39:24 +02:00
|
|
|
.msg = "Goodbye World :(\n"
|