2019-05-30 12:44:56 +02:00
|
|
|
; The OS/K Team licenses this file to you under the MIT license.
|
2019-05-30 12:19:38 +02:00
|
|
|
; See the LICENSE file in the project root for more information.
|
|
|
|
|
|
|
|
;
|
|
|
|
; Entry point
|
|
|
|
;
|
2019-05-30 12:27:13 +02:00
|
|
|
_start:
|
2019-05-30 12:19:38 +02:00
|
|
|
; Initializes the stack
|
|
|
|
mov rbp, 0x200000
|
|
|
|
mov rsp, rbp
|
|
|
|
|
2019-05-30 12:27:13 +02:00
|
|
|
call main
|
2019-05-30 12:19:38 +02:00
|
|
|
|
2019-05-30 12:27:13 +02:00
|
|
|
.1:
|
2019-05-30 12:19:38 +02:00
|
|
|
stop
|
2019-05-30 12:27:13 +02:00
|
|
|
jmp .1
|
2019-05-30 12:19:38 +02:00
|
|
|
|
|
|
|
include "dos/print.k"
|
2019-05-30 12:27:13 +02:00
|
|
|
include "dos/main.k"
|
2019-05-30 12:19:38 +02:00
|
|
|
|