6
LatticeMico
8
Microcontroller
Lattice Semiconductor
User’s Guide
MOV Rd, Rb
Rd = Rb (move register to register)
The zero flag is set to 1 if all the bits of the result are 0.
MOVI Rd, C
Rd = CCCCCCCC (move constant into register)
The zero flag is set to 1 if all the bits of the result are 0.
AND Rd, Rb
Rd = Rd and Rb (bitwise AND registers)
The zero flag is set to 1 if all the bits of the result are 0.
ANDI Rd, C
Rd = Rd and CCCCCCCC (bitwise AND register with constant)
The zero flag is set to 1 if all the bits of the result are 0.
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
1
0
0
0
Rd
Rd
Rd
Rd
Rd
Rb
Rb
Rb
Rb
Rb
0
0
0
CY Flag Updated
Zero Flag Updated
No
Yes
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
1
0
0
1
Rd
Rd
Rd
Rd
Rd
C
C
C
C
C
C
C
C
CY Flag Updated
Zero Flag Updated
No
Yes
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
1
0
1
0
Rd
Rd
Rd
Rd
Rd
Rb
Rb
Rb
Rb
Rb
0
0
0
CY Flag Updated
Zero Flag Updated
No
Yes
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
1
0
1
1
Rd
Rd
Rd
Rd
Rd
C
C
C
C
C
C
C
C
CY Flag Updated
Zero Flag Updated
No
Yes