For each of the following properties, mark whether it is an…

For each of the following properties, mark whether it is an advantage for a fixed or a variable-length instruction model for an ISA. (4 points) Write F in the cell that you believe is an advantage to a fixed-length ISA. Write V in the cell that you believe is an advantage to a variable-length ISA. Saves space PC can be incremented by a fixed value Simplifies instruction decode Makes it easy to support multiple memory addresses in a single instruction Simplifies hardware implementation Reduces the amount of code to be read from memory The size of the instruction is known in advance The opcode can control the size of the instruction

For each of the following properties, mark whether it is an…

For each of the following properties, mark whether it is an advantage for a fixed or a variable-length instruction model for an ISA. (4 points) Write F in the cell that you believe is an advantage to a fixed-length ISA. Write V in the cell that you believe is an advantage to a variable-length ISA. Saves space PC can be incremented by a fixed value Simplifies instruction decode Makes it easy to support multiple memory addresses in a single instruction Simplifies hardware implementation Reduces the amount of code to be read from memory The size of the instruction is known in advance The opcode can control the size of the instruction

Given the following declaration of a struct, pack the member…

Given the following declaration of a struct, pack the members of the struct to minimize wasted space and respect alignment. Assume byte addressability and do not reorder members. Assume the ISA is Big Endian. struct x {  char a{3}; // values { 0x30, 0xAC, 0x20 }  short b;   // value 0xBEEF  int c;     // value 0x6121C0DE  char d;    // value 0xCA  short e;   // value 0xMEAL}; Not all the hex values are valid. Please copy the values into the table below (e. g. LE is not a valid hex but write 0xLE in the corresponding cell). Prefix all the hex numbers with 0x and use uppercase for alphabetical digits (e. g. for hex value 0xFF: xFF, FF, and ff will NOT be accepted). There will be point deductions for misformatted fields. Write uppercase N/A in any unused fields. Do not leave any leading or trailing whitespaces in each cell. Starting Address +0 +1 +2 +3 0x1024 0x1028 0x102C 0x1030

Indicate the purpose of each register and whose responsibili…

Indicate the purpose of each register and whose responsibility it is in the calling convention to save each of the following registers if they are needed upon return (8 points) Answer Bank for the Purpose column Answer Bank for the Convention column General Purpose (callee or caller saved) Return Value Subroutine Return Address Stack Pointer Argument Interrupt Return Address Frame Pointer Branch Target Address Program Counter Caller-save Callee-save Neither Fill in the table below. Select an option with the dropdown menu in each cell. Register Purpose Convention $zero Always holds zero Neither $at $v0 $a0 $a1 $a2 $t0 $t1 $t2 $s0 $s1 $s2 $k0 $sp $fp $ra