kvisc/ka/command.k

25 lines
355 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
2019-07-10 21:05:26 +02:00
cld
2019-07-10 17:17:45 +02:00
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