Beruflich Dokumente
Kultur Dokumente
MM-8000
Revised 2008
REV-D
No part of this book shall be reproduced by any means; electronic, photocopying, or otherwise without written permission from the publisher.
753808
TABLE OF CONTENTS
Introduction
Lesson 1
Numbers
Lesson 2
Memory
Lesson 3
Lesson 4
Lesson 5
The Timer
Lesson 6
ROM
Lesson 7
Lesson 8
Instructional Set
Lesson 9
Lesson 10
Lesson 11
Lesson 12
Lesson 13
Lesson 14
Appendix 1
Program Listings
Appendix 2
Appendix 3
Appendix 4
Schematic Diagram
Appendix 5
PC Board Layout
PARTS LIST
Qty
Description
Part #
9
1
1
3
1
8
3
14
8
14
5
2
RESISTORS
150 5% 1/4W
470 5% 1/4W
510 5% 1/4W
680 5% 1/4W
1k 5% 1/4W
1.2k 5% 1/4W
2k 5% 1/4W
3.9k 5% 1/4W
6.8k 5% 1/4W
10k 5% 1/4W
47k 5% 1/4W
68k 5% 1/4W
131500
134700
135100
136800
141000
141200
142000
143900
146800
151000
154700
156800
1
1
10
1
2
CAPACITORS
20pF Discap
330pF Discap
0.1F Discap
10F 16V Electrolytic
100F 25V Electrolytic
212080
223317
251010
271054
281045
2
1
1
1
1
1
8
1
2
SEMICONDUCTORS
A70 Transistor
2N3904 Transistor
2816A or 9816A IC
LM-7805 IC
8085 IC
8155 IC (see note)
LED Diode Red
LED Diode Green
LED MAN71A / LTS72R / 312AR
320070
323904
332816
337805
338085
338155
350002
350010
350071
Qty
Description
1
1
1
1
1
1
15
29
1
1
1
4
4
2
1
1
2
4
1
1
1
MISCELLANEOUS
74HC00 IC
74HC04 IC
74HCT573 IC
Transformer Wall Type
PC Board
Switch PC Mount DPDT
Switch Slide Miniature SPDT
Swirch Dimple Dome Triangle
Heatsink Clip-on
Jack DC Power PC Mount
Plastic Case Black
Screw #8 self-tapping
IC Socket 14-pin
IC Socket 16-pin
IC Socket 20-pin
IC Socket 24-pin
IC Socket 40-pin
Clip PCBMnt
Label Keyboad
Label Case
Solder Tube Lead-free
Phillips Screwdriver
(1/2 wide)
Desoldering Pump
Diagonal Cutters
VOM, VTVM or DMM
Meter (optional)
39HC00
39HC04
39T573
440409
515030
541023
541102
546101
615005
621080
623000
642862
664014
664016
664020
664024
664040
688000
728000
728004
9LF99
TOOLS REQUIRED
Part #
II
III
IV
CONSTRUCTION
Introduction
The most important factor in assembling your MM-8000 Micro-Master Kit is good soldering techniques. Using
the proper soldering iron is of prime importance. A small pencil type soldering iron of 25 - 40 watts is
recommended. The tip of the iron must be kept clean at all times and well tinned.
Safety Procedures
Wear eye protection when soldering and during all phases of construction.
Locate soldering iron in an area where you do not have to go around it or reach over it.
Do not hold solder in your mouth. Wash your hands thoroughly after handling solder.
Be sure that there is adequate ventilation present.
Assemble Components
In all of the following assembly steps, the components must be installed on the top side of the PC board unless
otherwise indicated. The top legend shows where each component goes. The leads pass through the
corresponding holes in the board and are soldered on the foil side.
Use only rosin core solder.
DO NOT USE ACID CORE SOLDER!
Soldering Iron
Component Lead
Foil
Circuit Board
2.
3.
4.
Rosin
Soldering Iron
Solder
Foil
Solder
Gap
Component Lead
Solder
Soldering Iron
Solder
Foil
VI
Soldering Iron
Foil
Drag
VII
1-1
1-2
2-1
(may be
marked C1
on the PC
board)
2-2
2-3
2-4
2-5
2-6
3-1
3.9k Resistor
R43
R2
2N3904 Transistor
Q3
680 Resistor
R69
10k Resistor
R14
47k Resistor
R8
68k Resistor
R10
2k Resistor
R12
R9
C11
680 Resistor
R6
10k Resistor
R45
SPDT Switch
SW4
SW6
3.9k Resistor
R13
Figure 3-1
3-2
Jumper
J10
Use a discarded
resistor lead.
3-3
3-4
This switch connected to the 8155 integrated circuit chip enable (CE) pin through transistor Q3. When the
switch is down (toward the edge of the board) the transistor is turned off. The CE pin is held high by resistor
R69. In this state the 8155 is disabled and will ignore input data on all of its other pins. When the switch is
up, the transistor turns on and the CE pin is held near ground. In this state, the 8155 is enabled and will
respond to inputs on the other pins. In a later lesson, the reset switch will be used to allow address line
A15 to control the CE input.
3-5
4-1
4-2
4-3
4-4
4-5
5-1
5-2
5-3
5-4
5-5
6-1
6-2
6-3
6-4
7-1
7-2
7-3
7-4
7-5
7-6
CC
BIMC
Control
Machine
State S1,S0 IO/M A8-A15 AD0-AD7 RD,WR INTA ALE
T1
T2
TWAIT
T3
T4
T5
T6
TRESET
THALT
THOLD
X
X
X
X
1
1
1
X
0
X
X
X
X
X
0*
0*
0*
TS
TS
TS
X
X
X
X
X
X
X
TS
TS
TS
X
X
X
X
TS
TS
TS
TS
TS
TS
1
X
X
X
1
1
1
TS
TS
TS
1
X
X
X
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
7-7
7-8
7-9
7-10
7-11
7-12
7-13
7-14
7-15
7-16
7-17
7-18
7-19
7-20
8-1
8-2
8-3
8-4
8-5
8-6
8-7
8-8
8-9
8-10
8-11
8-12
8-13
8-14
8-15
8-16
Description
D7
D6
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
D0
8-17
D
1
D
D
1
0
0
1
0
0
0
0
1
1
1
1
1
D
1
D
D
1
0
1
0
0
1
0
1
1
1
0
0
0
D
0
D
D
0
0
0
0
0
0
1
1
0
1
0
1
1
S
S
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
S
S
1
1
1
0
0
0
1
1
1
1
1
1
1
1
1
S
S
0
0
0
1
1
1
0
0
0
0
0
0
0
0
1
Description
D7
D6
D0
1
1
1
1
1
1
1
1
1
1
0
0
0
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
1
1
1
1
1
1
1
0
1
0
1
0
1
0
1
0
1
1
1
1
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
Jump unconditional
Jump on carry
Jump on no carry
Jump on zero
Jump on no zero
Jump on positive
Jump on minus
Jump on parity even
Jump on parity odd
H & L to program counter
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
1
1
1
0
1
1
0
0
1
1
0
0
0
0
1
0
1
0
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
1
Call unconditional
Call on carry
Call on no carry
Call on zero
Call on no zero
Call on positive
Call on minus
Call on parity even
Call on parity odd
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
1
1
0
1
1
0
0
1
1
0
0
1
1
0
1
0
0
1
1
0
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
Return
Return on carry
Return on no carry
Return on zero
Return on no zero
Return on positive
Return on minus
Return on parity even
Return on parity odd
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
1
1
0
1
1
0
0
1
1
0
0
1
1
0
1
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
Restart
Input
Output
1
1
1
1
0
0
1
1
1
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
D
D
1
1
0
0
1
D
D
1
1
0
1
0
D
D
0
0
0
0
0
1
1
1
1
0
0
0
0
0
0
0
1
1
1
0
1
0
1
1
1
1
STACK OPS
PUSH B
PUSH D
PUSH H
PUSH PSW
POP B
POP D
POP H
POP PSW
XTHL
SPHL
LXI SP
INX SP
DCX SP
JUMP
JMP
JC
JNC
JZ
JNZ
JP
JM
JPE
JPO
PCHL
CALL
CALL
CC
CNC
CZ
CNZ
CP
CM
CPE
CPO
RETURN
RET
RC
RNC
RZ
RNZ
RP
RM
RPE
RPO
RESTART
RST
INPUT/OUTPUT
IN
OUT
Increment register
Decrement register
Increment memory
Decrement memory
Increment B & C registers
Increment D & E registers
Increment H & L registers
8-18
Description
D7
D6
D0
Decrement B & C
Decrement D & E
Decrement H & L
0
0
0
0
0
0
0
0
1
0
1
0
1
1
1
0
0
0
1
1
1
1
1
1
Add register to A
Add register to A with carry
Add memory to A
Add memory to A with carry
Add immediate to A
Add immediate to A with carry
Add B & C to H & L
Add D & E to H & L
Add H & L to H & L
Add stack pointer to H & L
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
1
0
1
0
1
0
1
0
1
1
1
1
1
S
S
1
1
1
1
0
0
0
0
S
S
1
1
1
1
0
0
0
0
S
S
0
0
0
0
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
0
0
0
0
0
0
1
1
1
1
1
1
0
1
0
1
0
1
S
S
1
1
1
1
S
S
1
1
1
1
S
S
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
0
1
S
S
S
S
1
1
1
1
1
1
1
1
S
S
S
S
1
1
1
1
1
1
1
1
S
S
S
S
0
0
0
0
0
0
0
0
Rotate A left
Rotate A right
Rotate A left through carry
Rotate A right through carry
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
Complement A
Set carry
Complement carry
Decimal adjust A
0
0
0
0
0
0
0
0
1
1
1
1
0
1
1
0
1
0
1
0
1
1
1
1
1
1
1
1
1
1
1
1
Enable interrupts
Disable interrupt
No-operation
Halt
1
1
0
0
1
1
0
1
1
1
0
1
1
1
0
1
1
0
0
0
0
0
0
1
1
1
0
1
1
1
0
0
0
0
0
0
1
1
0
1
0
0
0
0
0
0
0
0
ADD
ADD r
ADC r
ADD M
ADC M
ADI
ACI
DAD B
DAD D
DAD H
DAD SP
SUBTRACT
SUB r
SBB r
SUB M
SBB M
SUI
SBI
LOGICAL
ANA r
XRA r
ORA r
CMP r
ANA M
XRA M
ORA M
CMP M
ANI
XRI
ORI
CPI
ROTATE
RLC
RRC
RAL
RAR
SPECIALS
CMA
STC
CMC
DAA
CONTROL
EI
DI
NOP
HLT
NOTES: 1 - DDS or SSS B 000, C 001, D 010, E011, H 100, L 101, Memory 110, A 111
2 - Two possible cycle times. (6/12) indicate instruction cycles dependent on condition flags.
8-19
9-1
9-2
9-3
10-1
10-2
10-3
10-4
11-1
11-2
11-3
12-1
12-2
12-3
12-4
12-5
12-6
13-1
13-2
13-3
13-4
14-1
14-2
A-1
A-2
A-3
A-4
A-5
A-6
A-7
A-8
A-9
A-10
A-11
A-12
A-13
A-14
A-15
A-16
APPENDIX 3
Monitor Program
Flow Chart
A-17
APPENDIX 4
A-18
A-19