Re: [WP34s] XROM routines Message #17 Posted by Marcus von Cube, Germany on 9 Jan 2012, 10:21 a.m., in response to message #16 by fhub
Franz,
here you are:
CNVG? - A convergence test. Ask Pauli for details.
SHFL - A generic 4 level stack shuffler. The argument is bit encoded, so not really useful for casual programming.
BSRF/BSRB - Branch SubRoutine Forward/Backward: SKIP and BACK for subroutine calls.
iRCL/sRCL/dRCL - These are mine :-). They are "alien" RCL instructions which allow the access to data stored in the "wrong" format.
iRCL - takes an integer value stored in one of the integer modes and recalls it to X, properly converted.
sRCL - takes a single precision value in a register and recalls it to X, properly converted.
dRCL - takes a double precision value (register numbers match those for DBLON mode) and converts it to single precision or integer if required.
DBLON mode creates a double precision environment. The named registers are converted automatically. The necessary room is taken away from the high numbered registers. Register access is double precision, too. For example, STO 01 will access the space otherwise occupied by single precision registers 02 and 03.
xIN/xOUT are only available to XROM code. They create a private double precision stack and return stack (for RTN addresses and local registers and flags), not interfering with the user's data.
|