alpha 0.1.121

This commit is contained in:
2026-04-10 15:04:52 +02:00
parent dd9315f2f1
commit e399ec6a46
4 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
bits 64
section .data
hi db "hi from userland :) we did it man", 0
hi db "hi from userland :) we did it man", 0x0A, 0x0d, 0
section .text
@@ -9,7 +9,7 @@ hello:
mov rax, 0x1 ;sys_write
mov rdi, 0x1 ;stdout
lea rsi, [rel hi] ;char* buf
mov rdx, 33 ;count
mov rdx, 35 ;count
int 0x80
.end:
+2 -2
View File
@@ -1,7 +1,7 @@
bits 64
section .data
hello db 0x0A, 0x0D, "User program 2 speaking", 0
hello db 0x0A, 0x0D, "User program 2 speaking", 0x0A, 0x0D, 0
section .text
@@ -9,7 +9,7 @@ _start:
mov rax, 0x1 ;sys_write
mov rdi, 0x1 ;stdout
lea rsi, [rel hello]
mov rdx, 25 ;count
mov rdx, 27 ;count
int 0x80
; when we are ready to have an os specific toolchain,