Overview
Discover the fundamentals of X86 Assembly and the X86_64 calling convention in this informative conference talk. Learn just enough Assembly to understand and interpret Compiler Explorer outputs for simple functions. Gain the skills to paste your own project code into Compiler Explorer, comprehend the Assembly output, and simplify it when needed. Explore topics such as memory addressing, registers, conditionals, comparisons, loops, and function calls. Understand optimization techniques and get practical tips for working with Assembly code. No prior Assembly experience is required, though basic C or C++ knowledge is beneficial. By the end of this talk, you'll have a solid foundation in Assembly fundamentals, enabling you to effectively use Compiler Explorer and expand your knowledge as needed.
Syllabus
Introduction
What is Compiler Explorer
Assembly
Memory
Memory addresses
Register sizes
Signed or unsigned
ESI and EDI
Memory addressing
Conditionals
Comparisons
For Loop
Sum
Assembly Code
Optimizations
Calling Functions
Optimization
Tips
Questions
Cheating
Compare
Taught by
NDC Conferences