3 0001 - Register Operations🔗
Loads an 8-bit constant into the bottom 8 bits of the register "w",
clearing its higher 8 bits to zero.
Loads an 8-bit constant into the higher 8 bits of the register "a",
keeping its lower 8 bits unchanged.
(ldw r:bb68-gpr w:bb68-word)
|
Loads a 16-bit (word) constant into the register "r".
This is a macroinstruction composed of one LDH and one LDL instruction,
each loading a half of the constant.
Loads 32-bit integer into the specified pair. The higher 16
bits go into the first register and the lower into the second.
(ldr* w r)
|
| |
| w | | = | | bb68-gpr | | | | | | | | r | | = | | bb68-gpr |
|
| |
|
(ldr variant)
|
| |
| variant | | = | | dest:bb68-gpr src:bb68-gpr | | | | | | | dest:bb68-gprp src:bb68-gprp |
|
Copies/moves a value to a register or register pair dest from a given register (pair) src.
(swap* α β)
|
| |
| α | | = | | bb68-gpr | | | | | | | | β | | = | | bb68-gpr |
|
| |
|
(swap variant)
|
| |
| variant | | = | | dest:bb68-gpr src:bb68-gpr | | | | | | | dest:bb68-gprp src:bb68-gprp |
|
Swaps values of a register or register pair dest with a given register (pair) src.