30 lines
402 B
Plaintext
30 lines
402 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.
|
|
|
|
;
|
|
; Entry point
|
|
;
|
|
_start:
|
|
; Initializes the stack
|
|
mov rbp, 0x200000
|
|
mov rsp, rbp
|
|
|
|
call main
|
|
|
|
.1:
|
|
stop
|
|
jmp .1
|
|
|
|
;
|
|
; Include librairies
|
|
;
|
|
include "fmt/fmt.k"
|
|
include "prn/print.k"
|
|
include "str/string.k"
|
|
|
|
;
|
|
; Disk Operating System
|
|
;
|
|
include "main.k"
|
|
|