devls
devls
device load sixteen
Code: 2F F2
Description: Perform a device read from memory, a memory-mapped device or a
peripheral. The 16-bit object addressed by Areg is read into Areg as an unsigned
value. The memory access performed by this instruction is guaranteed to be correctly
sequenced with respect to other device-access instructions. Also the instruction is
guaranteed to be executed after all normal memory load instructions that appear
before it in the code sequence, and before all normal memory loads that appear after
it.
Definition:
if (PeripheralStart ≤ Areg ≤ PeripheralEnd)
Areg′0..15 ← PeripheralSixteen[Areg]
else
Areg′0..15 ← sixteen[Areg]
Areg′16..31
←0
Error signals: none
Comments:
Secondary instruction.
See also: devlb devlw devsb ls
64/212
®