Download Print this page

IMS IMSAI 8080 User Manual page 34

Advertisement

OCTAL
ADD.
INST.
ADD.
036
303
IE
037
006
IF
000
20
040
041
250
21
042
107
22
043
323
23
044
377
24
045
257
25
046
147
26
047
057
27
050
117
28
303
051
29
052
006
2A
053
000
2B
NOTE:
Exclusive OR of two switch patterns results in I's in
positions which were changed, with ail 0's elsewhere.
B= DISPLAY BYTE STORAGE
C=SWITCH DEBOUNCE INDICATOR
l=DEBOUNCE
D=LAST SWITCH SETTINGS
E=CURRENT SWITCH SETTINGS
H,L=DELAY COUNTER
SP=INCREMENT FOR DELAY COUNTER
GAME PROGRAM LISTING (CONT.)
HEX
INST.
MNEMONIC
JMP
C3
06
00
XRA, B
A8
47
MOV B, A
D3
OUT
FF
AF
XRA, A
67
MOV H, A
2F
CMA
4F
MOV C, A
C3
JMP
06
00
0=NORMAL OPERATION
General Assembly and
Test Instructions
DESCRIPTION
jump
(to read loop)
CHANGE DISPLAY IF SWITCH DIFFERENT
Exclusive OR 8 with A
Store A in 6
Output A
in front panel lights
a
Exclusive OR
with itself A (put zero in A)
Move A to H (set counter to Insure enough delay for debounce)
Complement A [to all l*s)
Move A to C (set C to debounce)
Jump
(to read loop)
c) 3975 IMS Assoc Inc
• A

Advertisement

loading