SPLat Logo

InputFM ii+

NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map

InputFM ii+

Pushes the on/off state of 8 input points ii through ii+7 to X in individual bits of X. An On input gives a '1', and Off input gives a '0'.

Please be aware that this instruction is not supported on SEXI inputs, it will only work on local inputs.

In boards with dialects up to 11 the operand ii must be 0, 8, 16 ... etc (a multiple of 8) and must be less than or equal to the highest numbered input in the target SPLat board. Input points that don't exist return 0's in the corresponding bit positions in X. In dialect 12 and later the operand ii may be any number that exists as an input.

+ From dialect 16 the address argument will be jndexed when executed inside a MultiTrack task and will be indexed if the instruction is preceded by the IasJ: precode.

This is a fast input instruction, i.e. there is no input debounce.  For a debounced read, see InputM.

Dialect restriction. InputFM is implemented only in dialects 6 or later.

See also InputM, OutputM