- answers✔✔What is the largest positive value that may be stored in 20 bits?
Precise control timing
Optimize memory - answers✔✔Why learn assembly language?
0A5h - answers✔✔myBytes BYTE 80h,66h,0A5h
mov al,myBytes
add al,[myBytes+2]
Evaluation of al?
6600 - answers✔✔array WORD 8000h,6600h,4400h
mov ax,array
add ax,[array+2]
Evaluation of ax?
0 to 255
0 to (2^8 - 1) - answers✔✔Unsigned Byte Range
, 0 to (2^16 - 1) - answers✔✔Unsigned word range
0 to (2^32 - 1) - answers✔✔Unsigned doubleword range
- 128 to + 127
- 2^7 to (2^7 - 1) - answers✔✔Signed byte range
- 2^15 to (2^15 - 1) - answers✔✔Signed word range
- 2^31 to (2^31 - 1) - answers✔✔Signed doubleword range
Repeatedly divide the decimal value by 16. Each remainder is a hexadecimal digit.
(Last remainder obtained is the first hexadecimal digit) - answers✔✔Converting from unsigned
Decimal to Hexadecimal
Repeatedly divide the decimal value by 2. Each remainder is a binary digit.(Last remainder
obtained is the first binary digit)" - answers✔✔Convert Unsigned Decimal to Binary
Invert bits.
Add 1 - answers✔✔Obtaining 2's complement notation
MSB ≤ 7 - answers✔✔Hexadecimal number is positive if:
MSB ≥ 8 - answers✔✔Hexadecimal number is negative if:
1. Convert absolute value of the decimal to binary.