Next: Instruction peekiu, Previous: Instruction write, Up: IO instructions [Contents][Index]
Synopsys:
peeki NENC,ENDIAN,BITS
Given an IOS descriptor and a bit-offset, peek an integer value of width BITS bits. The negative encoding and endianness to be used are specified in the instruction arguments.
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 )