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
150 THE x86 MICROPROCESSORS
where it had branched off .  is means that the value of IP (and CS for a ‘far’ call) will have to
be retrieved.  is is done by the ‘return’ instruction which is the last instruction in the procedure.
e execution of RET causes the return address to be popped from the stack to IP or IP and CS.
(Whenever a procedure is defi ned, it is known whether it is a far or near procedure. From this, it
is determined whether the stack has saved just the old IP value or both IP and CS.)
Usage: RET nii)
is is another form of the RET instruction.  is adds the number ‘n’ to the stack pointer (SP)
after the return address has ...
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