Assembly Language Final Exam – with accurate answers (verified)Graded A
What is the largest positive value that may be stored in 20 bits? - Answers- Why learn assembly language? - Answers-Precise control timing Optimize memory myBytes BYTE 80h,66h,0A5h mov al,myBytes add al,[myBytes+2] Evaluation of al? - Answers-0A5h array WORD 8000h,6600h,4400h mov ax,array add ax,[array+2] Evaluation of ax? - Answers-6600 Unsigned Byte Range - Answers-0 to 255 0 to (2^8 - 1) Unsigned word range - Answers-0 to (2^16 - 1) Unsigned doubleword range - Answers-0 to (2^32 - 1) Signed byte range - Answers-- 128 to + 127 - 2^7 to (2^7 - 1) Signed word range - Answers-- 2^15 to (2^15 - 1) Signed doubleword range - Answers-- 2^31 to (2^31 - 1) Converting from unsigned Decimal to Hexadecimal - Answers-Repeatedly divide the decimal value by 16. Each remainder is a hexadecimal digit. (Last remainder obtained is the first hexadecimal digit) Convert Unsigned Decimal to Binary - Answers-Repeatedly divide the decimal value by 2. Each remainder is a binary digit.(Last remainder obtained is the first binary digit)" Obtaining 2's complement notation - Answers-Invert bits. Add 1 Hexadecimal number is positive if: - Answers-MSB ≤ 7 Hexadecimal number is negative if: - Answers-MSB ≥ 8 Converting Signed Decimal to Binary - Answers-1. Convert absolute value of the decimal to binary.
Written for
- Institution
- Assembly Language
- Course
- Assembly Language
Document information
- Uploaded on
- July 15, 2023
- Number of pages
- 8
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
assembly language final exam – with accurate answe
-
what is the largest positive value that may be sto
-
why learn assembly language answers precise con
-
converting from unsigned decimal to hexadecimal