STMicroelectronics ST10 Series Programming Manual page 92

Table of Contents

Advertisement

ST10 FAMILY PROGRAMMING MANUAL
MOVB
Syntax
Operation
Data Types
Description
Moves the contents of the source operand specified by op2 to the location specified by the destination
operand op1. The contents of the moved data is examined, and the flags are updated accordingly.
Flags
E
*
E
Set if the value of op2 represents the lowest possible negative number. Cleared otherwise.
Used to signal the end of a table.
Z
Set if the value of the source operand op2 equals zero. Cleared otherwise.
V
Not affected.
C
Not affected.
N
Set if the most significant bit of the source operand op2 is set. Cleared otherwise.
Addressing Modes
Mnemonic
MOVB
Rb
n
MOVB
Rb
n
MOVB
reg, #data
MOVB
Rb
n
MOVB
Rb
n
MOVB
[Rw
MOVB
[-Rw
MOVB
[Rw
MOVB
[Rw
MOVB
[Rw
MOVB
Rb
n
MOVB
[Rw
MOVB
[Rw
MOVB
mem, [Rw
MOVB
reg, mem
MOVB
mem, reg
90/172
Move Data
MOVB
(op1)
BYTE
Z
*
, Rb
m
, #data
4
16
, [Rw
]
m
, [Rw
+]
m
], Rb
m
n
], Rb
m
n
], [Rw
]
n
m
+], [Rw
]
n
m
], [Rw
+]
n
m
, [Rw
+#data
]
m
16
+#data
], Rb
m
16
n
], mem
n
]
n
op1, op2
<-- (op2)
V
-
Format
F1 nm
E1 #n
E7 RR ## ##
A9 nm
99 nm
B9 nm
89 nm
C9 nm
D9 nm
E9 nm
F4 nm ## ##
E4 nm ## ##
A4 0n MM MM
B4 0n MM MM
F3 RR MM MM
F7 RR MM MM
C
N
-
*
Bytes
2
2
4
2
2
2
2
2
2
2
4
4
4
4
4
4

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ST10 Series and is the answer not in the manual?

Questions and answers

Table of Contents