SPLat Logo

OutputM oo+

NOTICE: Our web site is being updated, but is currently experiencing extreme slowness due to host issues. Please contact us directly.
NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map
SPLat will be shut down for the Christmas Holiday season from Friday 20 December 2024 through Tuesday 7 January 2025. We will check emails periodically and will continue to process orders but at a slower pace. Santa hat

OutputM oo+

<outputs oo..oo+7> AND X = Y AND X; X=Z; Y=T; Z=T

Updates up to 8 outputs (from output oo through output oo+7) at once according to the bits patterns in X and Y.

For example:


LoadX %00001101 ;we want 3=on 2=on 1=off 0=on
LoadX %00001111 ;only alter the first 4 outputs
OutputM 6 ;change the outputs, starting from output 6. So 9=on, 8=on, 7=off, 6=on (no other outputs affected)

OutputM pops the stack twice (removing both X and Y)

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.

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

See also InputFM