Question: Consider the following instructions given in the table below. For each instruction determine addressing modes of the source and destination operands, source and destination addresses,

Consider the following instructions given in the table below. For each instruction determine addressing modes of the source and destination operands, source and destination addresses, and the result of the operation. Fill in the empty cells in the table.

Consider the following instructions given in the table below. For each instructiondetermine addressing modes of the source and destination operands, source and destination

Problem #3 (25 points) MSP430 Instructions, Addressing Modes Consider the following instructions given in the table below. For each instruction determine addressing modes of the source and destination operands, source and destination addresses, and the result of the operation. Fill in the empty cells in the table. The initial content of memory is given in the table. The initial value of registers R2, R5, and R6 is as follows: SR=R2=0x0000 (V=0 N-0,2-0, C-0), R5-0x0403. R6-0xC006. Assume the starting conditions are the same for each question (i.e., always start from initial conditions in memory) and given register values Label Address Memory[15:0] ex 0x0400 0x0402 EDE 0x0404 0xA000 0xA4BC Label Address Memory[15:0] ex 0x0504 0xFEEE 0xA8FA 0x33F4 0xF014 0x2244 0xCDDA ex 0xC000 0xC002 TONI 0xC004 0xC006 0xC008 DEN 0xC00A 0xC00C OSc V SCG1 SCGO OFF Reserved rw-0 Instruction Instr Size inOperand WordsAddressingAddressing Source Destination Source Dest.Result (content of a Operand AddressAddress memorv location or a destination register; and new value of flags (C,V,Z, and N) Mode Mode (a) ADD.B &TONI, R6 (b) SUBC TONI, -3(R5) (c) RRC.B @R5+

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!