MASK is used to mask the contents of registers in the Register Buffer.
EXAMPLES:
Suppose that the contents of registers #0, #1, #2 are 11111111, 22222222, FFFFFFFF respectively. Then the command
MASK 3 #0 FF
will place 00000011, 00000022, 000000FF on
registers #0, #1, #2 respectively.
If you want to send the data #008F008F to the Linearization memries
of a TEC, a useful technique is to do the following:
LOAD #0
2pffff.dat
MASK 1024 #0 #008F008F
SEND 1 crate 1 1024
linearization address #0
This process loads a file with 1024 words
of FFFFFFFF, masks off the appropriate bits, and sends the data to the
linearization memory specified by crate and linearization address.