Question

1. True/ False 1.1. AL refers to the left most Byte in register EAX 1.2. The easiest way to convert from a number in base 4 t
0 0
Add a comment Improve this question Transcribed image text
Answer #1

1.1 True.  EAX is 32 bit value where AX is the lower 16 bits (0-15). In AX, lower 8 bits (0 to 7) are AL and higher 8 bits (8-15) are AH.

1.2 True. Direct conversion is easy as for each pair of numbers x2x1 we can calculate decimal number as 4*x2 + x1 and then mapped to hexadecimal number.  

(232132)4 = (B9E)16

  • 23 = 2*4 + 3 = 11 = B16
  • 21 = 2*4 + 1 = 916
  • 32 = 3*4 + 2 = 14 = E16

1.3 True. Unsigned numbers are always positive.

1.4 True. ASCII code uses 7 bit for each character. There are total 128 characters in ASCII.

1.5 False. Most significant bit in hexadecimal of ascii characters can be from 0 to 7.

1.6 False. Segments can be in any order as they are identified by their levels.

1.7 True. resb reserves 1 byte. resw reserves 2 bytes. resd reserves 4 bytes. resq reserves 8 bytes.

1.8 False. int is for interrupt here. 0x80 is the interrupt number.

1.9 True. Number can be represented as binary by putting b at the end.

1.10 True. EAX = 4 is considered as system write and 3 as read.

Add a comment
Know the answer?
Add Answer to:
1. True/ False 1.1. AL refers to the left most Byte in register EAX 1.2. The...
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