Question

are the following statements absolute or relative. justify the answers. 1) mvi A, 00 2) jmp...

are the following statements absolute or relative. justify the answers.

1) mvi A, 00

2) jmp * -6

3) store c

PLEASE GIVE PROPER JUSTIFICATION AND EXPLANATION

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

1) mvi A,00

This statement is absolute . Because we are directly transferring the immediate data into the general purpose register or in this case accumulator.So, no question of relative is raised

2) jmp *-6

This statement is relative. Because the target address is calculated depending upon the present address. So , in order to jump to target location, we use accessing of pc and target decoding. Therefore, it is relative

3) store c

This statement is relative. Because the data is transferred from the GPR to the label address stored which is again relative address.

Add a comment
Know the answer?
Add Answer to:
are the following statements absolute or relative. justify the answers. 1) mvi A, 00 2) jmp...
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
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