Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(1) 4. (a) Convert the following to their hexadecimal equivalents and illustrate the method by showing the calculations: 110110112, 4837310. (ii) Convert the following to
(1) 4. (a) Convert the following to their hexadecimal equivalents and illustrate the method by showing the calculations: 110110112, 4837310. (ii) Convert the following to their decimal equivalents again showing the method used: 101011002, 78AB16. (iii) Convert the following numbers to the BCD equivalents: 2910, 84710. (3 marks) (b) Describe the operation performed by each line in the assembly language program shown below. What function is performed by this program? (2 marks) START MOV BX, 01AO MOV AH, 27 MOV AL, BD MOV [BX], AL MARK INC BX DEC AH JNZ MARK INT 20 (c) Explain the significance of the order of the INC and DEC instructions. Illustrate the operation of the flag register using three suitable instructions from the assembly listing in part (b) above. Rewrite this program using the LOOP instead of the JNZ instruction. (3 marks) (d) A certain compiler uses a 64-bit floating point format as shown below. | 55 63 56 mantissa exponent The exponent is expressed as the mantissa gives the sign of the number. Estimate the range and resolution available with this system. power of 2 and is an 8-bit signed integer. The MSB of (2 marks)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started