Individual Instruction Descriptions
4-126
4.14.33 MOVS Move String from Source to Destination
Syntax
[label] name dest, src Clock, clk Word, w With RPT, clk Class
MOVS An[~], {adrs} Table 4–46 Table 4–46 1a
MOVS {adrs}, An[~] Table 4–46 Table 4–46 1a
MOVS {adrs}, *An Table 4–46 Table 4–46 1b
MOVS An[~], pma16 n
S
+4 2 N/R 2b
MOVS
†
An[~], PH 1 1 1 3
MOVS An, An~ n
S
+2 1 n
R
+2 3
MOVS An[~], *An[~] n
S
+4 1 n
R
+4 3
†
Certain restriction applies to the use of this instruction when interrupts are occuring on the background. See Section
4.8 for more detail.
Execution dest ⇐ src
PC ⇐ PC + w
Flags Affected dest is An: OF, SF, ZF, CF are set accordingly
dest is {adrs}: XSF, XZF are set accordingly
src is {adrs} TAG bit is set accordingly
Opcode
Instructions 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MOVS An[~], {adrs}
0 0 1 0 A~ 1 1 An adrs
x dma16 (for direct) or offset16 (long relative) [see section 4.13]
MOVS {adrs}, An[~]
0 0 0 1 A~ 1 1 An adrs
x dma16 (for direct) or offset16 (long relative) [see section 4.13]
MOVS {adrs}, *An
0 1 0 1 1 1 1 An adrs
x dma16 (for direct) or offset16 (long relative) [see section 4.13]
MOVS An[~], pma16
1 1 1 0 0 1 1 An 0 0 1 0 0 1 A~ ~A
x pma16
MOVS PH, An[~] 1 1 1 0 0 1 1 An 1 0 1 0 1 0 A~ 0
MOVS SV, An[~] 1 1 1 0 0 1 1 An 1 0 1 0 0 0 A~ 0
MOVS An[~], PH 1 1 1 0 0 1 1 An 0 0 1 0 0 0 A~ ~A
MOVS An, An~ 1 1 1 0 0 1 1 An 0 0 1 1 1 0 A~ ~A
MOVS MR, An[~] 1 1 1 0 0 1 1 An 1 0 1 1 0 0 A~ 0
MOVS An[~], *An[~] 1 1 1 0 0 1 1 An 0 0 0 1 0 0 A~ ~A