Question: Packed BCD representations are one way to represent unsigned numbers. For the following questions, you should presume an unsigned 16-bit Packed BCD representation. a. Identify

Packed BCD representations are one way to represent unsigned numbers. For the following questions, you should presume an unsigned 16-bit Packed BCD representation. a. Identify the maximum and minimum numbers that can be represented. ( 2 marks) b. Which number is represented by 16 -bit value 01100110001000112 ? Show your reasoning. ( 2 marks) c. What is the 16 -bit value that represents 59210 ? Show your reasoning. (2 marks) d. Plan a routine (using HIPO) labelled mul_pow10 that will multiply a 16-bit packed BCD represented number, by a power of ten. You do not need to write code. (8 marks) - The input 16-bit value is stored in 8-bit unsigned registers labelled InHi:InLo - you may presume that it is a valid PBCD representation. - The power is a two-bit unsigned number, stored as the lowest two bits in an 8-bit register labelled Exp. - The output 32 bit value is in packed BCD format
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
