Question: can you please solve question 1 and 2. Question 2 [7 marks] Write out the assembly language instructions encoded by the following seven words (that

 can you please solve question 1 and 2. Question 2 [7

marks] Write out the assembly language instructions encoded by the following seven

can you please solve question 1 and 2.

Question 2 [7 marks] Write out the assembly language instructions encoded by the following seven words (that is disassemble the machine language instructions): x1283, xF022, XAA16, x5D2A, x40C0, x73FE, X0A04 Note: show the binary representations and other work. Note: If there are offsets, like from labels, just list them like this: "LD R1, offset:#-10" Note: Remember that offsets are signed, so they can be negative Hexidecimal Binary Instruction Question 1[4 marks] Construct a symbol table for the following program. .orig ld puts ld x3222 r0,str r1,index repeat brz add br end r1,r1,#-3 repeat end str index halt stringz .fill end "Assignment#2!" 10 The headings in the table should be Symbol followed by Address. List the symbols in ascending alphabetic order. Question 2 [7 marks] Write out the assembly language instructions encoded by the following seven words (that is disassemble the machine language instructions): x1283, xF022, XAA16, x5D2A, x40C0, x73FE, X0A04 Note: show the binary representations and other work. Note: If there are offsets, like from labels, just list them like this: "LD R1, offset:#-10" Note: Remember that offsets are signed, so they can be negative Hexidecimal Binary Instruction Question 1[4 marks] Construct a symbol table for the following program. .orig ld puts ld x3222 r0,str r1,index repeat brz add br end r1,r1,#-3 repeat end str index halt stringz .fill end "Assignment#2!" 10 The headings in the table should be Symbol followed by Address. List the symbols in ascending alphabetic order

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!