IP2022 Users ManualInstruction Set Architecture
www.ubicom.com
165
IWRITEI
Write Ext./Program RAM and Increment
Operation:
(ADDRX || ADDRH || ADDRL) = DATAH || DATAL
ADDRL = ADDRL + 2
Bits affected:
None
Opcode:
0000 0000 0001 1100
Description:
This instruction transfers data from data memory
to external RAM or program RAM. The 24-bit
ADDRX/ADDRH/ADDRL register specifies the
address of a 16-bit word which is loaded with the
contents of the DATAH/DATAL register, then the
address is incremented by 2. If the address is not
in external RAM or program RAM, no operation is
performed. The instruction is blocking (i.e. no
other instructions may execute until it completes)
when it is used to write program RAM. The
instruction is non-blocking when it is used to write
external RAM.
Cycles:
4 (blocking)/1 (non-blocking)