Question

What are the hexadecimal bytes for the following instructions? (for 8051 MIcrocontroller) a. MOV DPH,#84H b....

What are the hexadecimal bytes for the following instructions? (for 8051 MIcrocontroller)

a. MOV DPH,#84H

b. JNB ACC.0,$

c. POP DPH

d. MOV A,#'='

e. XLR A,#'S'

f. CLR C

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

a.
Since MOV direct, # intermediate type so MOV has hexadecimal byte of 075H and DPH has the hexadecimal byte of 083H and since 84H is already in hexadecimal. So, summing up 075H,083H,84H
b.
JNB has hexadecimal value 030H and ACC.0 has the 0E0H and $ is represented as 000H, so summing up 030H,0E0H,000H.
c.
Pop has an opcode of 0D0H and DPH has 083H already stated, so summing up 0D0H,083H.
d.
MOV A,#data has an opcode of 074H and the value of '=' is 03DH, so summing up produces 074H,03DH.
e.
XRL A,#data has an opcode of 064H and the value of 'S' in hexadecimal is 053H, so summing up 064H,053H.
f.
It has an opcode of 0C3H as it is a type of CLR C.

Friend, this was a really nice question to answer. If you find my answer helpful, please like it. Thanks.

Add a comment
Know the answer?
Add Answer to:
What are the hexadecimal bytes for the following instructions? (for 8051 MIcrocontroller) a. MOV DPH,#84H b....
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
ADVERTISEMENT