zombie-core-utils/case.asm
zombie d8f9936073 made it more system v complient
in diff i use fucking r10b for somereason
2021-09-24 17:33:36 -04:00

23 lines
357 B
NASM

extern puts
%include "../inc/case_func.inc"
global case_func
section .data
text db "rEEEeee!EEeeeEeEEeE!EEEEEeEEE$eeeEE)EEeEeEEeeeEeEEEEEeeeEeeEeeEeeeeeEeEeEeeE",0
section .text
global main
main:
sub rsp, 8 ;enter
mov rdi, text
call case_func
mov rdi, text
cld
call puts ;this is the puts way of printing a string
_end:
add rsp, 8 ;exit
ret