Individual Instruction Descriptions
4-124
4.14.32 MOVBS Move Byte String from Source to Destination
Syntax
[label] name dest, src
Clock,
clk
Word,
w
With RPT,
clk
Class
MOVBS A
n
, {
adrs
}
8
Table 4–46 Table 4–46 1b
MOVBS {
adrs
}, A
n
Table 4–46 Table 4–46 1b
Execution
dest
⇐
src
PC ⇐ PC +
w
Flags Affected
dest
is A
n
: OF, SF, ZF, CF are set accordingly
dest
is {
adrs
}: XSF, XZF are set accordingly
src
is {
adrs
} TAG bit is set to bit 17
th
value
Opcode
Instructions 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MOVBS A
n
, {
adrs
}
8
0 1 0 0 1 1 1 A
n adrs
x
dma16
(for direct) or
offset16
(long relative) [see section 4.13]
MOVBS {
adrs
}
8
, A
n
0 1 0 1 0 0 0 A
n adrs
x
dma16
(for direct) or
offset16
(long relative) [see section 4.13]
Description Copy value of
src
byte to
dest
.
Syntax Description
MOVBS A
n
, {
adrs
} Move data memory byte string to A
n
word string
MOVB {
adrs
}, A
n
Move A
n
byte string to data memory
See Also MOVU, MOV, MOVT, MOVB, MOVS
Example 4.14.30.1 MOVBS A2, *0x0200
Transfer the byte string at data memory location 0x0200 to accumulator string A2.
Example 4.14.30.2 MOVBS *0x0200, A2
Transfer accumulator string A2 to data memory byte string location 0x0200.