Question

Problem 1.7: Find the addressing modes of the below instructions Memory addressing mode Instruction MOV A, RO; MOV A, @RO; MO

0 0
Add a comment Improve this question Transcribed image text
Answer #1

PLEASE REFER BELOW EXPLANATION

1) MOV A,R0
Answer : Register addressing mode
Explanation :
MOV source,Destination
In the register addressing mode the source or destination data should be present in a register (R0 to R7).

2) MOV A,@R0
Answer : Register indirect addressing Mode
Explanation :
In this mode, the source or destination address is given in the register. By using register indirect addressing mode,
the internal or external addresses can be accessed. The R0 and R1 are used for 8-bit addresses

3) MOV A, #30H
Answer : Immediate addressing mode
Explanation :
In this Immediate Addressing Mode, the data is provided in the instruction itself. The data is provided immediately after the opcode.

4) MOV A, 30H
Answer : Direct Addressing Mode
Explanation :
In the Direct Addressing Mode, the source or destination address is specified by using 8-bit data in the instruction.
Only the internal data memory can be used in this mode.

5) MOV A,@A+DPTR
Answer : Indexed addressing mode
Explanation:
In the indexed addressing mode, the source memory can only be accessed from program memory only. The destination operand is always the register A.

6) MOV C, A.0
Answer : Register addressing mode
Explanation :
MOV source,Destination
In the register addressing mode the source or destination data should be present in a register (R0 to R7).

7) MOV C,31H
Answer : Direct Addressing Mode
Explanation :
In the Direct Addressing Mode, the source or destination address is specified by using 8-bit data in the instruction.
Only the internal data memory can be used in this mode.

8) AJMP 3001H
Answer : Immediate addressing mode
Explanation :
In this Immediate Addressing Mode, the data is provided in the instruction itself. The data is provided immediately after the opcode.

9) MOV A,70H
Answer : Direct Addressing Mode
Explanation :
In the Direct Addressing Mode, the source or destination address is specified by using 8-bit data in the instruction.
Only the internal data memory can be used in this mode.

Add a comment
Know the answer?
Add Answer to:
Problem 1.7: Find the addressing modes of the below instructions Memory addressing mode Instruction MOV A,...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • The instruction {mov AL, 57} is and example of using immediate addressing mode T/F? If AL = 35 h ...

    The instruction {mov AL, 57} is and example of using immediate addressing mode T/F? If AL = 35 h then after {not al, 1} it becomes AL = 6A h T/F? In assembly: the Immediate addressing mode is not allowed in the dec instruction T/F? Each running program (in the main memory) must have a code segment, T/F? Are these two assembly instructions (rol ax.3) and frel ax,3) exactly the same (YN)? Write a list four to six processors/microprocessors (Intel...

  • Question 5 What are the addressing modes of the following assembly instructions? 1) (1 point) LDR...

    Question 5 What are the addressing modes of the following assembly instructions? 1) (1 point) LDR R1, R2] A. Immediate mode B. Register mode C. Relative mode D. Indirect mode 2) (1 point) SUB RO, R1, R4 A. Immediate mode B. Index mode C. Register mode D. Indirect mode 3) (1 point) BMI target A. Immediate mode B. Register mode C. Relative mode D. Indirect mode Question 6 Which of the following utility software tools can translate high level language...

  • Anyone explain to (i), (ii) How can we get the instruction words and R8=?[hex]? (i) instruction...

    Anyone explain to (i), (ii) How can we get the instruction words and R8=?[hex]? (i) instruction words[hex] is 0x4508, and R8= 0xF002 How can I get that? (ii) instruction words[hex] is 0x4548 and R8=0x0002 How can I get that? Consider the following instructions given in the table below. For each instruction determine its length (in words), the instruction words (in hexadecimal), source operand addressing mode, and the content of register R7 after execution of each instruction. Fill in the empty...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT