mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
34 lines
391 B
Plaintext
34 lines
391 B
Plaintext
; The OS/K Team licenses this file to you under the MIT license.
|
|
; See the LICENSE file in the project root for more information.
|
|
|
|
;
|
|
; Main function
|
|
;
|
|
main:
|
|
enter
|
|
|
|
mov ax0, .msg
|
|
call print
|
|
|
|
call exit
|
|
|
|
leave
|
|
ret
|
|
|
|
.msg = "Hello World :)\n"
|
|
|
|
;
|
|
; Exit function
|
|
;
|
|
exit:
|
|
enter
|
|
break
|
|
|
|
mov ax0, .msg
|
|
call print
|
|
|
|
leave
|
|
ret
|
|
|
|
.msg = "Goodbye World :(\n"
|