Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The following are the contents of a Memory Array, Register File, and the specifi

ID: 2082368 • Letter: T

Question

The following are the contents of a Memory Array, Register File, and the specified register that is used to compute the effective address in certain addressing modes. Recall that the addressing modes we discussed in class are: Implied, Immediate, Direct, Indirect, and Relative. For some modes you must also specify whether they are Memory or Register based. Identify the addressing mode used for the following instruction/result pairs. Write out your thought process. 1. Sub7 rightarrow 3F 2. Sub5 rightarrow A5 3. Sub2 rightarrow 4B 4. Sub 3, 7 rightarrow 22 5. Sub 2 rightarrow 64 6. Sub 0 rightarrow19

Explanation / Answer

1. SUB 7,A

SUB 3F,A

2. SUM 5,A

SUB A5,A

3.SUB 2,A

SUB AB,A

4. SUB 3,A

SUM7,R1

SUB A,R1

5. SUB 64,A

SUB 22,R2

SUB A,R2

6.

SUB 19,A

SUB 0,R2

SUB A,R2

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote