1
0
mirror of https://gitlab.os-k.eu/os-k-team/kvisc.git synced 2023-08-25 14:05:46 +02:00
kvisc/ka/command.k

24 lines
347 B
Plaintext
Raw Normal View History

2019-06-20 18:13:06 +02:00
; The OS/K Team licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
2019-07-10 17:17:45 +02:00
__cmdstart:
jmp start
include "crt/crt.k"
2019-07-01 13:16:17 +02:00
start:
2019-07-10 17:17:45 +02:00
mov rsp, 0x140000
xor rbp, rbp
cls
call main
2019-07-01 13:16:17 +02:00
2019-07-10 17:17:45 +02:00
mov rax, Sys.HLT
trap 0
2019-07-01 13:16:17 +02:00
2019-07-10 17:17:45 +02:00
crash
2019-07-01 13:16:17 +02:00
2019-07-10 17:17:45 +02:00
include "usr/cmd/main.k"
2019-07-01 13:16:17 +02:00
include "usr/cmd/dir.k"
2019-06-20 18:13:06 +02:00