Download Print this page

Siemens C16 Series Instruction Set Manual page 83

16-bit cmos single-chip microcontrollers

Advertisement

MOVB
Syntax
Operation
Data Types
Description
Condition Flags
Addressing Modes
Semiconductor Group
30Mar98@15:00h
Move Data
MOVB
op1, op2
(op1) ← (op2)
BYTE
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 condition codes are updated accordingly.
E
Z
*
*
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 other-
wise.
V Not affected.
C Not affected.
N Set if the most significant bit of the source operand op2 is set. Cleared
otherwise.
Mnemonic
MOVB
Rb
, Rb
n
m
MOVB
Rb
, #data4
n
MOVB
reg, #data8
MOVB
Rb
, [Rw
n
MOVB
Rb
, [Rw
n
MOVB
[Rw
], Rb
m
MOVB
[-Rw
], Rb
m
MOVB
[Rw
], [Rw
n
MOVB
[Rw
+], [Rw
n
MOVB
[Rw
], [Rw
n
MOVB
Rb
, [Rw
n
MOVB
[Rw
+#data16], Rb
m
MOVB
[Rw
], mem
n
MOVB
mem, [Rw
MOVB
reg, mem
MOVB
mem, reg
C166 Family Instruction Set
V
C
N
-
-
*
Format
F1 nm
E1 #n
E7 RR ## xx
]
A9 nm
m
+]
99 nm
m
B9 nm
n
89 nm
n
]
C9 nm
m
]
D9 nm
m
+]
E9 nm
m
+#data16]
F4 nm ## ##
m
E4 nm ## ##
n
A4 0n MM MM
]
B4 0n MM MM
n
F3 RR MM MM
F7 RR MM MM
83
Instruction Description
MOVB
Version 1.2, 12.97
Bytes
2
2
4
2
2
2
2
2
2
2
4
4
4
4
4
4

Hide quick links:

Advertisement

loading