Hexadecimal numbers:
In mathematics, hexadecimal numbers are positional numbers with a base or a radix of “16” which uses symbols “0–9” to represent values zero to nine, and “A–F” (or alternatively “a–f”) to represent values ten to fifteen.
Given Instruction:
Explanation of Solution
Hexadecimal numbers Operations:
Step-1:
Converting “
Hexadecimal numbers are written with the base of “16”, which means that each digit takes 4 bits as “
Base 16 uses symbols “0–9” to represent values zero to nine, and “A–F” (or alternatively “a–f”) to represent values ten to fifteen.
The 16 digits of hexadecimal representation are: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
“
=
Hence, the decimal value of “
Step-2:
Converting “
Hence, the decimal value of “
Step-3:
Performing “
As the numbers are represented in unsigned magnitude format, a simple subtraction operation occur which results in:
Step-4:
The above value is in decimal format and hence one needs to convert the result into hexadecimal form.
In order to convert the value into hexadecimal, one needs to find the biggest power of 16.
“
Now, one needs to divide the number by the highest power to see how many times it fits, which results as:
Now “
“
Now, the next power that fits in this number is “
Also, “
Next, one needs to subtract the above result:
“
The next power that fits is “
Hence, “
Hence, the unsigned operation “
Want to see more full solutions like this?
Chapter 3 Solutions
Computer Organization and Design MIPS Edition, Fifth Edition: The Hardware/Software Interface (The Morgan Kaufmann Series in Computer Architecture and Design)
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY