HP 21MX series CPU's do have index registers, but they are best left unused!
Standard HP instructions can perform the same operations FASTER than the
absurdly slow
X and Y index register functions.
Tony Duell wrote:
C requires a stack pointer and a index register.Offhand
I don't think
your hardware supports that.
Certain HP2xxx do have index registers (the ones with the EIG instructions
IIRC), but guess how FORTRAN compilers handle indexed array accesses
Err, self-modifying code? That was the traditional way to do this sort of
thing.
-tony