Intermediate Assembly Language
Q42 / 100

What is the System V AMD64 ABI calling convention?

Correct! Well done.

Incorrect.

The correct answer is B) First 6 integer/pointer arguments in RDI, RSI, RDX, RCX, R8, R9; return value in RAX

B

Correct Answer

First 6 integer/pointer arguments in RDI, RSI, RDX, RCX, R8, R9; return value in RAX

Explanation

Linux/macOS 64-bit (System V ABI): args in RDI, RSI, RDX, RCX, R8, R9 (then stack). Return in RAX. Callee-saved: RBX, RBP, R12-R15.

Progress
42/100