Question: 4. [12 points) In the rows for addresses 4, 6 and A of the Machine Language columns of the table below, write the machine language
4. [12 points) In the rows for addresses 4, 6 and A of the Machine Language columns of the table below, write the machine language generated when the program is assembled using the above architecture. Write the machine language in hexadecimal. The first line is an example. Each box represents 4 bits or one hexadecimal digit. Note: DATA just defines a four byte Big Endian data value Address in hex Assembler Machine Language in hex 970 Too 0 0 C LOAD R7, turtle SUB R1, R4, R6 STORE R4, lion (R7] MULT R2,R5, R3 DATA 3 DATA 0 DATA 13 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 ooooooop) turtle zebra lion 4. [12 points) In the rows for addresses 4, 6 and A of the Machine Language columns of the table below, write the machine language generated when the program is assembled using the above architecture. Write the machine language in hexadecimal. The first line is an example. Each box represents 4 bits or one hexadecimal digit. Note: DATA just defines a four byte Big Endian data value Address in hex Assembler Machine Language in hex 970 Too 0 0 C LOAD R7, turtle SUB R1, R4, R6 STORE R4, lion (R7] MULT R2,R5, R3 DATA 3 DATA 0 DATA 13 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 ooooooop) turtle zebra lion
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
