Sharp MZ-80B Owner's Manual page 107

Hide thumbs Also See for MZ-80B:
Table of Contents

Advertisement

98
Mnemonic
BIT
b,
r
BIT b,(HL)
BIT b,(IX
+
d)
BIT b, (IY
+
d)
SET
b,r
SET
b,(HL)
SET
b,(IX
+
d)
SET
b,(IY
+
d)
RES b,s
Symbolic
Flags
OP -Code
No.
:-l o.
No.
of
of
M
ofT
Comments
Operation
c z
P/
V
s
N
H
76
543
210
Bytes Cycles Sta tes
Z<-rb
t
X
X
0
1
11 001 011
2
2
8
r
Reg.
01
b
r
000
B
Z
<-
(HLh
t
X
X
0
1
11 001 011
2
3
12
001
c
01
b 110
010
D
-
-
t
011
E
Z
<-
(IX
+
d)
b
X
X
0
1
11
011
101
4
5
20
11 001 011
100
H
+-
d
~
101
L
01
b 110
111
A
-
-
-
Z+-(IY
+
d)b
t
X
X
0
1
11 111 101
4
5
20
b
Bit
Test ed
11 001 011
000
0
+-
d
~
001
1
01
b 110
010
2
rb +-1
• •
11 001 011
2
2
8
011
3
[!!]
b
r
100
4
(HLh +-1
11 001 011
2
4
15
101
5
• •
• •
[!!]
110
6
b 110
111
7
(IX+dh+-1
• • •
• •
11 011 101
4
6
23
11 001 011
+-
d
~
[!!]
b 110
(IY+dh+-1
• • • •
11 111 101
4
6
23
11 001 011
+-
d
~
[!!]
b 110
sb<-0
[!QJ
To
form
ne
w
OP-code
s=r,(HL),
replace
!TIJ
of
SET
b, m
(IX
+
d),
with
[!QJ.
Flags and time
(IY
+
d)
states
for
SET
in struction.
Notes: The notation sb indicates bit b (0 to 7)
or
location s.
Flag Notation:
=
flag not
affected,
0
=
flag reset, 1
=
flag
set,
X
=
flag is unknown
,
t
=
flag is affected according to
the
result
of
the
operation.
BIT
SET,
RESET AND
TEST
GROUP
TABLE
4.3-8

Advertisement

Table of Contents
loading

Table of Contents