Store Long-Immediate Value to Data Memory
SPLK
7-165
Assembly Language Instructions
Syntax SPLK #

lk

,
dma
Direct addressing
SPLK #

lk

,
ind
[, AR
n
] Indirect addressing
Operands dma: 7 LSBs of the data-memory address
n: Value from 0 to 7 designating the next auxiliary register
lk: 16-bit long immediate value
ind: Select one of the following seven options:
* *+ *– *0+ *0– *BR0+ *BR0–
SPLK

#lk, dma

1514131211109876543210
101011100 dma
lk
SPLK

#lk, ind

[

,

AR
n
]
1514131211109876543210
101011101 ARU N NAR
lk
Note: ARU, N, and NAR are defined in Section 6.3,
Indirect Addressing Mode
(page 6-9).
Execution Increment PC, then ...
lk data-memory address
Status Bits None
Description The SPLK instruction allows a full 16-bit pattern to be written into any data
memory location.
Words 2
Cycles for a Single SPLK Instruction
Program
Operand ROM DARAM SARAM External
DARAM 2 2 2 2+2p
SARAM 2 2 2, 32+2p
External 3+d 3+d 3+d 5+d+2p
If the operand and the code are in the same SARAM block
Example 1 SPLK #7FFFh,DAT3 ;(DP = 6)
Before Instruction After Instruction
Data Memory Data Memory
303h FE07h 303h 7FFFh
Opcode
Cycles