...
This commit is contained in:
14
src/CLI/Runtime/nub_panic.s
Normal file
14
src/CLI/Runtime/nub_panic.s
Normal file
@@ -0,0 +1,14 @@
|
||||
.intel_syntax noprefix
|
||||
.section .text
|
||||
|
||||
# func nub_panic(message: ^u8, message_length: u64): void
|
||||
.global nub_panic
|
||||
nub_panic:
|
||||
mov rdx, rsi
|
||||
mov rsi, rdi
|
||||
mov rax, 1
|
||||
mov rdi, 2
|
||||
syscall
|
||||
mov rax, 60
|
||||
mov rdi, 101
|
||||
syscall
|
||||
Reference in New Issue
Block a user