21 lines
312 B
Plaintext
21 lines
312 B
Plaintext
|
; The OS/K Team licences this file to you under the MIT license.
|
||
|
; See the LICENSE file in the project root for more information.
|
||
|
|
||
|
hw = "Hello World\n:)"
|
||
|
|
||
|
;
|
||
|
; Entry point
|
||
|
;
|
||
|
main:
|
||
|
; Initializes the stack
|
||
|
mov rbp, 0x200000
|
||
|
mov rsp, rbp
|
||
|
|
||
|
mov ax0, hw
|
||
|
call print
|
||
|
|
||
|
stop
|
||
|
|
||
|
include "dos/print.k"
|
||
|
|