Machine-Level Representation of Programs #1
4190.308 Computer Architecture
Wednesday, September 11, 2014, 23:59
in paper form.
There will be a drop off box in class and in front of the CSAP Lab in building 301, room 419.
Update your information on eTL. (your picture, e-mail address and mobile phone number) Question 1
Explain the difference of “reg to mem”, “mem to reg” and “mem to mem” ISAs. Text
They all make reference to a movement of data from one place to another. REG to REG is the movement of data from one register into another. In contrast MEM to REG is the movement of data from memory to a register. Finally, MEM to MEM represent data transfer from one place in memory into another.
Assume the following values are stored at the indicated memory addresses and registers: Address
Fill in the following table showing the values for the indicated operands: Operand
Data movement instructions
You are given the following information. A function with prototype void decode(int *xp, int *yp, int *zp);
is compiled into assembly code. The body of the code is as follows: xp at %ebp+0x8, yp at %ebp+0xc, zp at %ebp+0x10
Parameters xp, yp, and zp are stored at memory locations with offsets 0x8, 0xc, and 0x10, respectively, relative to the...
Please join StudyMode to read the full document