IP2022 Users ManualInstruction Set Architecture
www.ubicom.com
159
IREAD
Read External/Program Memory
Operation:
DATAH || DATAL = (ADDRX || ADDRH || ADDRL)
Bits affected:
None
Opcode:
0000 0000 0001 1001
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. 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)