Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Custom Problem # 1 : Reverse Assembling ( Disassembling machine code ) The table below shows the contents of program memory. Using the document

Custom Problem \#1: Reverse Assembling (Disassembling machine code) The table below shows the contents of program memory. Using the document entitlec LC4-ISA-Instructions.pdf, convert the machine instructions you see to an equivalent sequence of Assembly instructions. Hint: start by looking at the four bit opcode - be careful how you break up the 16 bit fields, one bit can make a big difference.
Address Machine insturctiion Assembly instuction
Eample 0001001010000011 ADD R1,R2,R3
01001000000000010
11001001000000011
20001010000100000
30010001100000001
40000110000000011
50001010010001000
60001001001111111
70000111111111011001: opcode or sub-opcode
ddd: d-register, sss: s-register, ttt: t-register
III: signed immediate, UUU: unsigned immediate, ---: don't care
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions