Bit Set, Reset And Test Group - Sharp mz-800 Technical Reference And User's Manual

Hide thumbs Also See for mz-800:
Table of Contents

Advertisement

---Bit Set, Reset and Test
Group---
flags
opcode
No.
No.
mnemonic
operation
bytes
of M of.T
comments
c
z
P/V
s
N
H
76 543 210
cycles cycles
BIT b,r
z----r
b
t
X
X
0
1
11 001 011
2
2
8
r
register
01
b
r
000
B
BIT b,(HL)
Z+-(HLh
t
X
X
0
1
11 001 011
2
3
12
001
c
01
b 110
010
D
BIT b,(IX+d)
Z+-(IX+d)h
t
X
X
0
1
11 011 101
4
5
20
011
E
11 001 011
100
H
+--
d
......
101
L
01
b 110
111
A
- -
BIT b,(IY+d)
Z+-(IY+d)b
t
X
X
0
1
11 111 101
4
5
20
b
bit tested
11 001 011
000
0
+-- d
......
001
1
01
b 110
010
2
SET b,r
i'b +--1
• • • • •
11 001 011
2
2
8
011
3
[!]
b
r
100
4
SET b,(HL)
(HL) b +--1
• •
• • • •
11 001 011
2
4
15
101
5
[!]
b
110
6
110
111
7
SET b,(IX+d)
(IX+dh+--1
• • • • • •
11 011 101
4
6
23
11 001 011
+-- d
......
[!]
b 110
SET b,(IY+d)
(IY+d)b+--1
• • • • • •
11 111 101
4
6
23
11 001 011
+-- d
......
[!]
b 110
RES b,s
sb+-0
(ill
Bit b in operand s is
s=r,(HL),
reset
(IX +d),
OY+d)
149

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents