Suppose that the entry code for a 64bit procedure saves no r
Suppose that the entry code for a 64-bit procedure saves no register and reserves no local stack
space. How do you find each of the following quadword parameter values in the body of the proce-
dure?
(a) parameter 1
(b) parameter 3
(c) parameter 5
(d) parameter 7
Solution
The following parameters will do the following functions.
when 64 bit procedure saves no register it happens in the parameter 1
parameter 1 which it gets addresses of array
parameter 2 it will get the value of count
parameter 3 which takes minimum array
parameter 4 which takes the maximum array bits.
so the expected form of answer which in case of not saving stack and no registers is parameter 1
