Website is working in a trial mode

(Old version)
geo
facebook
youtube
twitter icon
linkedin icon

Programacao Em Baixo Nivel C Assembly E Execucao De Programas Na Arquitetura Intel 64 Pdf |top| -

Low-Level Programming: C, Assembly, and Program Execution on Intel® 64 Architecture

#include <stdio.h> extern int add_asm(int, int); Low-Level Programming: C, Assembly, and Program Execution on

Você pode instruir o compilador a usar Assembly inline. Isso é útil para instruções que o C não expõe. It guides the reader through: O'Reilly books Assembly

The book is designed to bridge the gap between high-level code and machine-level execution, specifically for the Intel 64 architecture. It guides the reader through: O'Reilly books Assembly & Architecture Low-Level Programming: C

nasm -f elf64 arquivo.s -o arquivo.o gcc main.c arquivo.o -o programa

| Registrador (64-bit) | Propósito Principal | |----------------------|---------------------| | RAX | Acumulador (resultados de operações) | | RBX | Base (ponteiro para dados) | | RCX | Contador (loops, shifts) | | RDX | Dados (extensão para multiplicação/divisão) | | RSI / RDI | Origem/Destino (movimentação de strings) | | RSP | Ponteiro de Pilha ( Stack Pointer ) | | RBP | Ponteiro de Base ( Frame Pointer ) | | RIP | Ponteiro de Instrução (próxima instrução a executar) |