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
490 THE x86 MICROPROCESSORS
14.1.4 | BOUND Register, Address
BOUND verifi es that the signed value in the specifi ed register lies within specifi ed limits.
If the value does not lie within the bounds, an array bounds exception (INT 5) occurs. BOUND
is useful for checking array bounds before attempting to access an array element.  is prevents
the program from overwriting information outside the limits of the array.
BOUND has two operands.  e fi rst, register, specifi es the register being tested.  e second,
address, contains the eff ective relative address of the two signed boundary values. Array index
in source register is checked against upper and lower bounds in memory source.  e fi rst word
located at ‘address’ is the lower boundary and 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