Programming Reference

This command loads a number into register Mi, where Mi is M0 - M15.
Mi registers are 4-bits wide and can store numbers from 0 to 15.
There are sixteen 4-bit registers.

8-bit registers can be implemented using Xi, where Xi is X0 - X7.
Xi registers are 8-bits wide and can store numbers from 0 to 255.
One 8-bit register uses up two 4-bit registers.
There is a maximum of eight 8-bit registers.

Code Example

Meaning

M2=10

Load the integer number 10 into 4-bit register M2.

M2=1010b

Load the binary number 1010 into 4-bit register M2.

M2=0Ah

Load the hex number A into 4-bit register M2.

X4=255

Load the integer number 255 into 8-bit register X4.

X4=11111111b

Load the binary number 11111111 into 8-bit register X4.

X4=0FFh

Load the hex number FF into 8-bit register X4.