Individual Instruction Descriptions
4-117
Assembly Language Instructions
Description Copy value of
src
to
dest
. Premodification of accumulator pointers is allowed
with some operand types.
Syntax Description
MOV A
n
[~], {
adrs
} [,
next A
] Move data memory word to A
n
[~]
†
MOV {
adrs
}, A
n
[~] [,
next A
] Move A
n
[~] word to data memory
MOV A
n
[~],
imm16
[,
next A
] Move immediate word to A
n
[~]
†
MOV MR,
imm16
[,
next A
] Move immediate word to multiply register
†
MOV A
n
, A
n
~ [,
next A
] Move A
n
~ word to A
n
MOV A
n
~, A
n
[,
next A
] Move A
n
word to A
n
~
MOV A
n
[~], PH [,
next A
] Move product high reg to A
n
[~]
†
MOV SV, A
n
[~] [,
next A
] Move lower 4 bits of A
n
[~] to SV register
MOV PH, A
n
[~] [,
next A
] Move A
n
[~] to PH register
MOV MR, A
n
[~] [,
next A
] Move A
n
[~] to MR register in signed multiplier mode
‡
MOV A
n
[~], *A
n
[~] [,
next A
] Move program memory word at *A
n
[~] to A
n
[~]
†
MOV {
adrs
}, R
x
Move R
x
word to data memory
MOV R
x
, {
adrs
} Move data memory word to R
x
MOV R
x
,
imm16
Move immediate word to R
x
MOV R
x
, R5 Move R5 to R
x
MOV PH, {
adrs
} Move data memory word to product high (PH) register
MOV MR, {
adrs
} Move data memory word to MR, set multiplier signed mode
‡
MOV {
adrs
}, *A
n
Move ROM word at *A
n
to data memory
MOV AP
n
, {
adrs
} Move data memory word (lower 6 bits)to AP
n
register
MOV STAT, {
adrs
} Move data memory word to status register (STAT)
MOV SV, {
adrs
}
‡
Move data memory value (lower 4 bits) to shift value (SV) register
MOV TOS, {
adrs
} Move data memory word to top of stack (TOS)
MOV {
adrs
}, PH Move product high (PH) register to data memory
MOV {
adrs
}, MR Move Multiplier register (MR) to data memory
MOV {
adrs
}, STAT Move status register (STAT) to data memory
MOV {
adrs
}, STR Move string register (STR) byte to data memory
MOV {
adrs
}, DP Move data pointer (DP) to data memory
MOV {
adrs
}, SV Move shift value (SV) (4 bits) to data memory
MOV {
adrs
}, AP
n
Move AP
n
register to data memory
MOV STR, {
adrs
}
§
Move data memory byte to string register (STR)
MOV {
adrs
}, TOS Move top of stack (TOS) to data memory word
MOV TF
n
, {
flagadrs
} Move data flag to TF
n
in STAT register
MOV {
flagadrs
}, TF
n
Move TF
n
from STAT register to memory flag
†
MOV TF
n
, {
cc
} [, R
x
] Load logic value of test condition to TF
n
bit in STAT register
¶
MOV SV,
imm4
Move immediate value to shift value (SV) register