Podcast
Questions and Answers
What are the three methods for passing information to functions in assembly?
What are the three methods for passing information to functions in assembly?
In global memory, in registers, on the stack
What does the stack hold for C compatible functions?
What does the stack hold for C compatible functions?
Arguments, return address, previous frame's %ebp value, automatic variables, saved values for other compiler used registers
What is the C compiler return value convention?
What is the C compiler return value convention?
The C compiler return value convention is to store the return value in the %eax register
What is the purpose of the 'pushl' instruction in Assembly Language?
What is the purpose of the 'pushl' instruction in Assembly Language?
What is the purpose of the 'call' instruction in Assembly Language?
What is the purpose of the 'call' instruction in Assembly Language?
What is the purpose of the 'movl' instruction in Assembly Language?
What is the purpose of the 'movl' instruction in Assembly Language?
What is the purpose of the 'ret' instruction in Assembly Language?
What is the purpose of the 'ret' instruction in Assembly Language?
What are the two mechanisms in the instruction set for calling and returning from functions?
What are the two mechanisms in the instruction set for calling and returning from functions?
What is a 'old school' way to pass data back and forth between assembly language functions?
What is a 'old school' way to pass data back and forth between assembly language functions?
How is a caller function in C typically written?
How is a caller function in C typically written?
What is the purpose of the 'call' and 'ret' mechanism in function calls?
What is the purpose of the 'call' and 'ret' mechanism in function calls?
Flashcards are hidden until you start studying