3.58 Decode
★
Problem:
For a function with prototype:
GCC generates the following assembly code:
Parameters x
, y
, and z
are passed in registers %rdi, %rsi, and %rdx. The code stores the return value in register %rax.
Write C code for decode2
that will have an effect equivalent to the assembly code shown.
Code:
Last updated