How C Program Converts Into Assembly

Written by IndianWestCoast | Published 2019/11/21
Tech Story Tags: c-programming | cpp | programming | learntocode | beginners | tutorials | assembly | latest-tech-stories

TLDR An earlier article, we have seen C runtime: before starting main & How C program stored in RAM memory. Here we will see "How C program converts into assembly?" and different aspect of its working at machine level. We will focus on a stack frame of the function that is called by call instruction. The direction of stack frame growth totally depends on compiler ABI which is out of our scope for this article. The complete information on stack frame size, memory allocation, returning from stack frame is decided at compile time.via the TL;DR App

no story

Written by IndianWestCoast | Software Developer⌨, Fitness Freak🏋, Geek🤓, Hipster🕴, Blogger👨‍💻, Productivity Hacker⌚
Published by HackerNoon on 2019/11/21