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
118 THE x86 MICROPROCESSORS
INC BX ;second word of the sum
LOOP REPEA ;go back if CX is not 0
MOV DL, 0 ;make DL = 00
ADC DL, 0 ;add the carry to DL
MOV SUMC, DL ;move the carry to SUMC
.EXIT
END
ere are a number of notable features for this program. Let us list out these features.
e double words are stored in two DD locations named LONGNUM1 and LONGNUM2. i)
ey will be stored in the little endian format.
e sum of two double words can be more than a double word.  is can be accommodated ii)
as a carry, added to a register, and can be stored in memory as the uppermost byte of the
sum.  ree registers are used as pointers ...
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