Skip to Main Content
The X86 Microprocessors: Architecture and Programming (8086 to Pentium), 1st Edition
book

The X86 Microprocessors: Architecture and Programming (8086 to Pentium), 1st Edition

by Lyla B. Das
May 2024
Intermediate to advanced content levelIntermediate to advanced
665 pages
23h 2m
English
Pearson India
Content preview from The X86 Microprocessors: Architecture and Programming (8086 to Pentium), 1st Edition
22 THE x86 MICROPROCESSORS
Example 0.11
Find the decimal number whose two’s complement representation is given.
FFF2Hi)
F9Hii)
Solution
FFF2Hi)
Taking two’s complement gives 000E
which is 1110. i.e., 14 – which means that 14 is the number represented by FFF2H.
F9Hii)
Taking two’s complement gives
0111 i.e., 7, which means that 7 is the number represented by F9H.
Question Looking at the result of various arithmetic operations on binary numbers, how
do we know whether it is a positive or a negative number? What is your observation regarding
signed numbers?
Answer We should know how many bits are used for the representation of a signed number
in the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microprocessors and Microcontrollers  by Pearson

Microprocessors and Microcontrollers by Pearson

Lyla B Das

Publisher Resources

ISBN: 9781282663169