Tag Archives: gdb

Intel x86 32-bit assembly – function call & stack frame

This post is originally written for a basic view on function call and stack frame in Intel x86 32-bit assembly code. EBP and ESP are the focus. A stack layout pic with dynamic register changes is also down there. May … Continue reading

Posted in Programming, Stuff about Compiler | Tagged , , , , , , | 1 Comment

x86 assembly programming with GNU – tool tips

1. coding pattern # Pattern used by as and ld .section .data < initialized data here> .section .bss < uninitialized data here> .section .text .globl _start _start: < instruction code here> ———————————- # Pattern used by gcc .section .data < … Continue reading

Posted in Programming | Tagged , , , , , , , , | Leave a comment