Question

2.Write code that jumps to label Ll if either bit 4, 5, or 6 is set in the BL register (10)
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Note:- bits count starts from 0 to 7

Jump to label L1 if 4,5,or 6 is set in BL register means any of the bit among bit 4,5 or 6 is set(means equal to 1)to acheive this condition keep all 3 bits of the immidiate data equate to 1 and rest of the bits equates to 0. On testing, condition is satisfied and code run accordingly.

test bl,01110000b
jnz L1

Add a comment
Know the answer?
Add Answer to:
2.Write code that jumps to label Ll if either bit 4, 5, or 6 is set...
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