zombie-core-utils/case.asm

22 lines
339 B
NASM

extern puts
%include "../inc/case_func.inc"
section .data
text db "rEEEeee!EEeeeEeEEeE!EEEEEeEEE$eeeEE)EEeEeEEeeeEeEEEEEeeeEeeEeeEeeeeeEeEeEeeE",0
section .text
global main
main:
sub rsp, 8 ;enter
mov r8, 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