Answers for "func assembly"

2

func assembly

func:
    xor eax, eax
    mov eax, 10
    add eax, 5
    ret ;// essentially identical to: pop [register] -> jmp [register]


_start:
    call func
    mov ebx, eax ;// Address of this instruction is pushed onto the stack
    ;// ebx is now 15
Posted by: Guest on October-27-2020

Code answers related to "Assembly"

Browse Popular Code Answers by Language