Pilha
Entendendo como a pilha (hardware stack) funciona na arquitetura x86
Hardware Stack
bits 64
global assembly
assembly:
mov rax, 12345
push rax
mov rax, 112233
pop rax
ret
#include <stdio.h>
int assembly(void);
int main(void)
{
printf("Resultado: %d\n", assembly());
return 0;
}Last updated
Was this helpful?