bound
Check Array Index Against Bounds
BOUND r, m
Checks if operand is within bounds defined in memory.
Details
The Check Array Index Against Bounds instruction checks if operand is within bounds defined in memory.
Pseudocode Operation
// Checks if operand is within bounds defined in memory
Example
BOUND rax, [rbp-8]
Encoding
Binary Layout
62
+0
Operands
-
dest
General-purpose register -
src
Memory operand