IP2022 Users ManualInstruction Set Architecture
www.ubicom.com
161
IREADI
Read Ext./Program Memory and Increment
Operation:
DATAH || DATAL = (ADDRX || ADDRH || ADDRL)
ADDRL = ADDRL + 2
Bits affected:
None
Opcode:
0000 0000 0001 1101
Description:
This instruction transfers data from external
memory, program flash memory, or program RAM
to
data
memory.
The
24-bit
ADDRX/ADDRH/ADDRL register specifies the
address of a 16-bit word which is loaded into the
DATAH/DATAL register, then the address is
incremented by 2. The instruction is blocking (i.e.
no other instructions may execute until it
completes) when it is used to read program RAM
or when it is executed from program flash
memory to read program flash memory. The
instruction is non-blocking when it is used to read
external memory or when it is executed from
program RAM to read program flash memory.
Cycles:
4 (blocking)/1 (non-blocking)