Individual Instruction Descriptions
4-115
Assembly Language Instructions
[label]
ClassWith RPT,
clk
Word,
w
Clock,
clkdest, src,
[,
next A
]
name
MOV TF
n
, {
cc
}
[, R
x
] 1 1 N/R 8b
MOV STR,
imm8
1 1 N/R 9b
MOV SV,
imm4
1 1 N/R 9b
MOV AP
n
,
imm5
1 1 N/R 9c
Execution [premodify AP if
mod
specified]
dest
⇐
src
PC ⇐ PC +
w
Flags Affected
dest
is A
n
: OF, SF, ZF, CF are set accordingly
dest
is R
x
: RCF, RZF are set accordingly
dest
is {
adrs
}: XSF, XZF are set accordingly
src
is {
adrs
} TAG bit is set accordingly
src
is {
flagadrs
} TAG bit is set accordingly
Opcode
Instructions 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MOV {
adrs
}, A
n
[~] [,
next A
]
0 0 1 1 A~ next A A
n adrs
x
dma16
(for direct) or
offset16
(long relative) [see section 4.13]
MOV A
n
[~], {
adrs
} [
, next A
]
0 0 1 0 A~ next A A
n adrs
x
dma16
(for direct) or
offset16
(long relative) [see section 4.13]
MOV {
adrs
}, *A
n
0 1 0 1 1 1 0 A
n adrs
x
dma16
(for direct) or
offset16
(long relative) [see section 4.13]
MOV A
n
[~],
imm16
[
, next A
]
1 1 1 0 0 next A A
n
0 0 1 0 0 1 0 ~A
x
imm16
MOV MR,
imm16
[,
next A
]
1 1 1 0 0 next A A
n
1 1 1 0 0 1 0 0
x
imm16
MOV A
n
, A
n
~ [,
next A
] 1 1 1 0 0 next A A
n
0 0 1 1 1 0 A~ ~A
MOV A
n
[~], PH [,
next A
] 1 1 1 0 0 next A A
n
0 1 1 1 0 0 A~ ~A
MOV SV, A
n
[~] [,
next A
] 1 1 1 0 0 next A A
n
1 0 1 0 0 0 A~ 0
MOV PH, A
n
[~] [,
next A
] 1 1 1 0 0
next A
A
n
1 0 1 0 1 0 A~ 0
MOV A
n
[~], *A
n
[~] [
, next A
] 1 1 1 0 0
next A
A
n
0 0 0 1 0 0 A~ ~A
MOV MR, A
n
[~] [,
next A
] 1 1 1 0 0
next A
A
n
1 0 1 1 0 0 A~ 0
MOV {
adrs
}, R
x
1 1 1 1 0 0 R
x
{
adrs
}
x
dma16
(for direct) or
offset16
(long relative) [see section 4.13]
MOV R
x
, {
adrs
}
1 1 1 1 0 1 R
x
{
adrs
}
x
dma16
(for direct) or
offset16
(long relative) [see section 4.13]
MOV R
x
,
imm16
1 1 1 1 1 1 1 0 0 0 1 0 R
x
0 0
x
imm16