Question: 9) (14 Points) Given the following assembly language instruction sequence and machine codes for the instructions. In the table below, fill in the starting memory

 9) (14 Points) Given the following assembly language instruction sequence andmachine codes for the instructions. In the table below, fill in the

9) (14 Points) Given the following assembly language instruction sequence and machine codes for the instructions. In the table below, fill in the starting memory location and machine code for each instruction, Show your work for full credit. Fill in the Memory Locations and Machine Code with HEX values. Assembly Language Program Instruction Starting Code Machine Code (see Memory Location for below for different Instruction (HEX) instructions) (HEX) 00000 START: LDI R28.34 LDS R29,0x97 ADD R29,R28 BRNE START STSK, Rr Store register Ri in memory location 1001 001 r 0000 kkkk kkkk k k k k kkkk O255 BRNE Branch Place: conditional branch -> branch if C = 0 1111 0 1 K6 K5 K4 K3 K2 KI KO 001 K6 K5 K4 K3 K2 KI KO => -64 to +63 (2s complement range) offset with respect to the current PC 9) (14 Points) Given the following assembly language instruction sequence and machine codes for the instructions. In the table below, fill in the starting memory location and machine code for each instruction, Show your work for full credit. Fill in the Memory Locations and Machine Code with HEX values. Assembly Language Program Instruction Starting Code Machine Code (see Memory Location for below for different Instruction (HEX) instructions) (HEX) 00000 START: LDI R28.34 LDS R29,0x97 ADD R29,R28 BRNE START STSK, Rr Store register Ri in memory location 1001 001 r 0000 kkkk kkkk k k k k kkkk O255 BRNE Branch Place: conditional branch -> branch if C = 0 1111 0 1 K6 K5 K4 K3 K2 KI KO 001 K6 K5 K4 K3 K2 KI KO => -64 to +63 (2s complement range) offset with respect to the current PC

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!