23.1.28.6 Instruction peekdi

Synopsys:

peekdi BITS

Given an IOS descriptor and a bit-offset, peek an integer value of width BITS bits. Use the default endianness and negative encoding.

If there is a problem performing the operation, this function pushes an exception in the stack. Otherwise, it pushes the peeked value and PVM_NULL.

Stack: ( INT ULONG -- [INT] EXCEPTION|null )