You are on page 1of 6
XIV, MCS-4 EVALUATION KIT USING THE 4001-0009 This kit provides both a convenient way of evaluating the MCS-4 parts and an educational vehicle to better understand the MCS~4 operation. The 4001-009 stores a microprogram that exercises the 4004 and 4002's and executes all of the 45 instructions in the MCS-4 instruction set. Fig. 33 shows the hardware that should be used. The circuit for single pass/ cuntinuus cau be uultted 1f only continuous operation is sought. in this case Oy (RAM #0) should be connected directly to TEST. ‘The RESET signal can be provided by either a one-shot circuit or by a pulse generator in the “single pulse" mode. The width of the RESET signal must be at least 32 x 8 clock periods (a 350 usec) to fully clear the RAM storage. If the system is operated in the continuous mode, RESET needs to be applied only at power on. If the system works in the single pass mode, when END of SEQUENCE (Pin 03) is "1", the 4004 will "hang" on a loop where the address to Jump to on a jump on TEST = 1 condition is the address of the same jump on condition. To get out of the loop RESET must be applied. To monitor the program operation a scope should be used in the "B delayed by A" mode. By using the delay time multiplier the program execution can be easily seen. The synchronization signals for the B and A traces are pin 12 af 4002-1 £0 and SYNC, pin 8 of the 4004, reopectively. The 4001-0009 has been coded with the internal chip select circuit always activated, therefore any address at A, time will cause the 4001 to be selected. This is different from the normal operation of the 4001 where only one code (out of 16) at A3 time selects the 4001. The reason for doing so is that we can show the execution of JMS and JUN instructions to any chip number (the A3 time code) and still use only 1 ROM chip. the 1/U pins ot the 40U1-UUU9 are all connected as inverting inputs with no resistors connected. The two phase clocks, (91 and $7) must be supplied externally according to the MCS~4 data sheet specs. The program execution is 110 msec. using a clock period of 1.3 usec. Although the CM-RAM, lines are not used in this configuration, they are being pulsed. If a'scope is hooked up to these lines the waveforms may be observed. Both 4002-1's must be used in order to fully execute the program stored in the ROM. Attached ie the program flow (with comments) aud Ube truch cable. leoneon ||| ar | Abe bs [e RK Figure 33. MCS-4 Evaluation Kit Using the 4001-0009 eel poe {St ee — ——_ er i us a _ - one THT oe —$$ 16 peu) conan, & DoL subroutine fs used to check Of RAM Lines switching Pointer to 4002-1 #0 This section te used to check the Junp on condition instruction. The muabers refer to the sequance to which the Jumps occur. address for folloving JT Restore 4007-1 60 patnrar TE creck aaa Load markers Check SUB inatrvction Clear Markers [+ creck INC, LD, XOM, DAA instructions L- cueck Dac, KBP instructions [+ creek Dad, TAC instructions sooness pas ae ns ae as Ling 7 ua 150 a 153 isa p36 188 159 Liso 162 piss 166 ass Lise 368 169 0 in in cir) ae us i 178 9 160 ae isa 184 185 1086 rr 188 189 130 13 12 p93 ase 35 196 137 199 L260 201 202 203 205 206 207 208 209 11 212 213 Laie Gus 27 ne a9 20 ai om we sre we 12 @ ia ROL RO3 me 182 163 mm rm se sh mc se 182 be Fim Ske ie 13 sre SRE as Ske ns au Tae is 1K Ske v1 }— check roc instruction LX ciear asckers Je creck tes instruction [— check TCC, omc, RAR snstructions | Besd content of all memory Locations [— check aom instruction This portion controls the cycle Statue character B stores the sycle number. AE the end of the 2n cycle, 46 pin 13 of the 002-2 ¥0 i6"connected to test of the 4004, — the program will stop. To start again RESET sigeal must be applied {othe system (eingle pass operation). Tf pin 13 te not connected to TEST the! program ill be in continuous node! 100 x Fo ‘SUBROUTINES Pater 101 223 234 25 2 no 2 22 233 2s 236 ar aa 2s 20 21 2a 2 2a 25, 26 27 209 250 251 252 253 254 255, see 5 bu cue ior BL, © fe sre FIN acl BBL, 0 oP nn an 1000 0000 ¢xoP)

You might also like