BOUND - (80188+)

BOUND - Array Index Bound Check

Array index in source register is checked against upper and lower bounds in memory source. The first word located at “limit” is the lower boundary and the word at “limit+2” is the upper array bound. Interrupt 5 occurs if the source value is less than or higher than the source.

Usage:

	BOUND	src,limit	;

Modifies flags:

none

Clocks Size
Operands 808x 286 386 486 Bytes
reg16,mem32 - nj=13 nj=10 7 2
reg32,mem64 - nj=13 nj=10 7 2