summaryrefslogtreecommitdiff
path: root/jefs.s
diff options
context:
space:
mode:
Diffstat (limited to 'jefs.s')
-rw-r--r--jefs.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/jefs.s b/jefs.s
index d698f13..eca2374 100644
--- a/jefs.s
+++ b/jefs.s
@@ -6,9 +6,17 @@
%assign __NR_brk 12
%assign __NR_exit 60
+section .bss
+wstack_b: resq 2047
+wstack: resq 1
+
section .text
global _start
_start:
+ ; init
+ mov r14, wstack
+ xor r15, r15
+
mov rdi, 0
mov rax, __NR_exit
syscall