Sharp MZ-80B Owner's Manual page 105

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
Symboli
c
Flags
OP-Code
1\o
.
~o.
No.
of
of
Jl
ofT
Comments
Operation
c z
P/
V
s
N
H
76 543 210
Bytes
Cycles
States
Z+-rb
t
X
X
0
I
11 001 011
2
2
8
r
Reg.
01
b
r
000
B
-
-
t
X
X
0
I
11 001 011
2
3
12
001
c
Z+-
(HL)b
01
b 110
010
D
-
-
t
X
4
20
011
E
Z+-
(IX
+d) b
X
0
I
11 011 101
5
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 T ested
11 001 011
000
0
~
d
-
001
1
01
b
110
010
2
rb ~1
• • • • •
11
001
011
2
2
8
011
3
!Til
b
r
100
4
(HLh+---1
11 001 011
2
4
15
101
5
• •
• •
110
6
!Til
b 110
111
7
(IX
+
dh +---1
• • •
• •
11
011
101
4
6
23
11
001
011
~
d
-
!Til
b 110
(IY
+
dh+---1
11 111 101
4
6
23
11 001 011
+---
d
-
!Til
b 110
s
b+---0
[1]]
To form new
OP·cod
e
s
=
r,(HL),
replace[!]
of SET
b, m
(IX
+ d),
with
[!QJ.
Fl
ags
and
I
im
e
(IY
+
d)
states
for SET in
s
tru
cti on.
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
TASLE 4.3-8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents