Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Can you please convert everything in to ARMSim# Assembly language, and also asnwer the question. Thank you. Instruction Set & Assembly Language (8 points) Consider
Can you please convert everything in to ARMSim# Assembly language, and also asnwer the question. Thank you.
Instruction Set & Assembly Language (8 points) Consider the following set of instructions beq a0, $al, equal addi $t0, $0, 0 done equal: addi $to, $0, 1 done: Assume that the first instruction is placed in memory location Ox10000000 and that the registers are numbered as follows: $a0 = $4. Sal = $5, $t0-$8. Refer to the following opcode chart: Opcode Chart Instruction Opcode 001000 000100 000010 addi Fill the blank cells in the following table, including the memory address of each in- struction, the type of instruction (R, I or J) and the machine language code of the instruction (in both binary and hexadecimal code) Machine code Address 0x10000000 0x10000004 0x10000008 0x1000000C 0x10000010done: Hexadecimal I0001 0000 1000 0101 0000 0000 0000 0010 0x10850002 I 0010 0000 0000 1000 0000 0000 0000 0000 0x20080000 J0000 1000 0000 0000 0000 0000 0000 0100 0x08000004 I 0010 0000 0000 1000 0000 0000 0000 00010x20080001 InstructionType Binary be addi addi Instruction Set & Assembly Language (8 points) Consider the following set of instructions beq a0, $al, equal addi $t0, $0, 0 done equal: addi $to, $0, 1 done: Assume that the first instruction is placed in memory location Ox10000000 and that the registers are numbered as follows: $a0 = $4. Sal = $5, $t0-$8. Refer to the following opcode chart: Opcode Chart Instruction Opcode 001000 000100 000010 addi Fill the blank cells in the following table, including the memory address of each in- struction, the type of instruction (R, I or J) and the machine language code of the instruction (in both binary and hexadecimal code) Machine code Address 0x10000000 0x10000004 0x10000008 0x1000000C 0x10000010done: Hexadecimal I0001 0000 1000 0101 0000 0000 0000 0010 0x10850002 I 0010 0000 0000 1000 0000 0000 0000 0000 0x20080000 J0000 1000 0000 0000 0000 0000 0000 0100 0x08000004 I 0010 0000 0000 1000 0000 0000 0000 00010x20080001 InstructionType Binary be addi addiStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started