SDK-85 USER'S MANUAL JULY 1977
SDK-as System Design Kit Users Manual Manual Order Number 9800451 A Copyright © 1977 I ntel Corporation Intel Corporation, 3065 Bowers Avenue, Santa Clara, California 95051
The information in this manual is subject to change without notice. Intel Corporation makes no warranty of any kind with regard to this material, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. I ntel Corporation assumes no responsibility for any errors that may appear in this manual. Intel Corporation makes no commitment to update nor to keep current the information contained in this manual.
CONTENTS CHAPTER 1 DESCRIPTION · 1-1 CHAPTER 2 HOW TO ASSEMBLE THE KIT GENERAL. GETTING ORGANIZED SELECTING TOOLS AND MATERIALS UNPACKING AND SORTING PARTS A REVIEW OF BASIC ASSEMBLY AND SOLDERING TECHNIQUES ASSEMBLY PROCEDURE. 2-1 2-1 2-2 2-3 2-6 · 2-7 CHAPTER 3 FINAL ASSEMBLY AND CHECKOUT GENERAL. STRAPPING OPTIONS POWER SUPPLY WI RING. INSTALLING LARGE IC DEVICES STARTING THE FIRST TIME WHAT IF IT DOESN'T? .
Figure 1-1.
CHAPTER 1 DESCRIPTION The MCS-85 System Design Kit (SDK-85) contains all the parts with which you can build a complete 8085 microcomputer system on a single board, and a library of MCS-85 I iterature to help you learn to use it. The finished computer has the following built-in features: SDK-as SPECIFICATIONS Central Processor CPU: 8085 Instruction Cycle: 1.3 microsecond Tc{ 330 ns • High-performance, 3~M Hz 8085 cpu (1.3 p.
Interrupts Three Levels: • Intellec® (RST 7.5) - Keyboard Interrupt (RST 6.5) - TTL Input (lNTR) - TTL Input DMA MDS Brochure • ICE-85 Data Sheet • PL/M-80 Data Sheet • 8085/8080 Assembly Language Reference Card Physical Characteristics Hold Request: Jumper selectable. TTL compatible input. Width: 12.0 in. Height: 10 in. Software Depth 0.50 in. System Monitor: Preprogrammed 8755 or 8355 ROM Weight: approx. 12 oz.
CHAPTER 2 HOW TO ASSEMBLE THE KIT 2-1 GENERAL Don't unpack your parts yet. Do a little reading first, and you may save yourself time and expense. I CAUTION I The metal-oxide-semiconductor (MOS) devices in this kit are susceptible to static electricity. Do not remove them from the protective, black foam backing sheet until you have read the precautions and instructions in paragraph 2-4. way, there won't be any surprises later. Take your time.
2-3 SELECTING TOOLS AND MATERIALS These tools and materials will be required to assemble the kit: o o o o o Needle-nose pliers Sma" Phillips screwdriver Small diagonal cutters Soldering pencil, not more than 30 watts, with extra-small-diameter tip. (1/16 in. isn't too sma".) You should also have a secure holder for it. Rosin-core solder, 60:40 (60% tin), sma" diameter (,05 in, or less) wire Note: o M PHILLIPS SCREWDRIVER NEEDLE-NOSE PLIERS SOLDE~ Soldering paste is not needed.
2-4 UNPACKING AND SORTING PARTS The MCS-85 System Design Kit is shipped skinpacked on a card that includes a conductive backing to protect its metal-oxide-semiconductor (MOS) devices from static charge. Don't remove the four larger-size I ntel devices from the foam backing until you have completed all of the instructions in this chapter and are ready to place them on the board.
Next, open the bag of electrical parts and sort them out by type and value. Give yourself plenty of unobstructed work space and try not to let tiny parts skitter away from you.
Capacitor, ceramic D 6 alphanumeric LED (light-emitting diode) displays 051-6 D D 7 0.1 J1 f C11-16,18 2N2907 transistors Q1-16 24 pushbutton switches, with keycaps labeled Transistor D 16 51-24 Note: Crystal, clock It's a good idea to check all switches with the ohmmeter before installing. If one is bad, you'll save a lot of work. Large, 40-pin ICs (integrated circuits) 6.
Small, 16-pi niCs o o bottom or left-to-right, and to form the leads of parts with values printed on them so that the values are legible after assembly. 8205 address decoder A10 74LS156 scan decoder A12 I CAUTION I Large-scale integrated circuits are fragile! Dropping, twisting, or uneven pressure may break them. The discharge of static electricity can destroy them internally. Leave them embedded in the conductivefoam backing sheet until ready to install on the board.
appears dull on the surface or does not surround the lead completely and fill the hole. Note: A little rosin from the solder core, remaining on the board, does no harm. Don't try to clean it off. 10. CI ip off the excess length of lead that projects beyond the solder "bead," within 1/8 inch of the board. Save cut ends to use for strapping optional connections. (See paragraph 3-2.) I WARNING I Avoid eye injury when clipping excess lead ends.
o Install capacitor C1 near the top edge of the board. o Solder C1 in place. Clip excess lead ends. I WARNING ":., I'~-=~ ~':~~':::" :~~l ::f:~~;t:.;:.-,~,,~ I I Avoid eye injury. Hold lead ends as you clip them so they can't fly up at you. Assembly of TTY Interface Area- o Install a 100 Ohm, 1/2 Watt resistor (brownblack-brown) at R 1. o Install a 4.7k Ohm resistor (yellow-violet-red) at R2. o Install a 1.6k Ohm resistor (brown-blue-red) at R3.
Assembly of Processing Area The processing area includes the clock crystal, address decoder, cpu, RAM-I/O and ROM-I/O areas, and related components. o o A 16, for the RAM-I/O device, an 8155. Solder the three sockets in, and check carefully for solder bridges. LJLJ J3 o o I nstall the crystal at Y1, with its leads bent so that the device lies flat on the board in the space outlined for it. II I PORT! .J 1PORT 0 Take a piece of scrap wire trimmed from a component previously mounted on the board.
D Install a 3k Ohm resistor (orange-black-red) at R7. Install 0.1 uf ceramic capacitors at: D Install a 3.9k Ohm resistor (orange-white-red) at R8. D C16 D C18 [] Now solder the capacitors you have installed, and clip off their excess lead ends. D Solder these two resistors and clip off their lead ends. I nstall three 0.1 uf ceramic capacitors at: D C1l D C12 C13 I D Solder them and clip off excess lead length. PORT D Install a 1 uf capacitor at C20.
Assembly of Keyboard and Display Area Find where the row of resistors, R9 through R30, go. I nstall eight 3k resistors (orange-black-red) at: o o o R12 o R18 o o o R21 o o R9 R15 R24 h J . lESS DER ) R28 (Careful-the location pattern changes here! ) R29 Now solder all eight resistors in place and clip their excess lead ends. OL 'U ~ DATA BUS BUFF ) . uj U I AS) (' J (' ,~.vv A.9 ) KEYBOARD AND ~~ ] -- J OU'~ ~. -. DI:~::Y KEYBOARD LOC IS00H 1900H DISPLAY • UI 0 .,.
Install six 270 Ohm resistors (red-violet-brown) at: o o o o o o o R10 R13 R16 R19 . A7!DATA 1 DRESS CODER 205 J h US-tis BUFF ] 110A~ U R25 !, i I .JI~ KEYBOARD AND I DISPLAY ~ 25 n 74lS156 ; A12( SCAN DECODER~ '-;/ ;~ U ""OA" .,::::, ooN,"O"" I ", C. R22 ", ;I . A~ , .. .vv coo 9 ::gg: S25 II Solder these six resistors and clip their excess lead ends.
Install eight 24 Ohm resistors (red-yellow-black) at: o R11 o R14 o o o o o R17 o o R20 R23 R26 A7rDATA-ius BUff 1~ DRESS CODER 205 J UA~ ,~_w JAV KEYBOARD AND ] J OU'~ ~. .. l 74LS156 A12c! SCAN DECODER~ ;~ • A13 DI~~::Y KEYBOARD LOC 1800H 1900H 9 J UI DISPLAY ~ 25 -- ,~ •• ,~ 0 ~ U CONTROLLER 525 11 R27 (Again, note the change in location pattern.) R30 Solder these eight resistors and clip their excess lead ends.
Install fourteen 2N2907 transistors in two rows. Position the seven transistors in the top row so that their indexing tabs point upward and to the left, at: D 03 D 04 D 05 D 06 D D 07 '08 D 09 I Position the seven transistors in the bottom row so that their indexing tabs point down and to the right, at: D 010 D 011 D 012 D 013 D 014 D 015 D 016 D Press all of the transistors down to about 1/8 inch from the surface of the board. Let them stand approximately straight up.
D Install one of the 40-pin DIP sockets, for the 8279 Keyboard-Display Controller, at A 13, and solder it in. D Install the 74LS156 scan decoder at A 12, and solder it. Be careful to orient the six alphanumeric LED displays so that the decimal points are even with the bottom of the digits and install at: D DS1 D D D D D DS2 DS3 DS4 105 C 1 ~RESS OOOER ] KEYBOARD AND DS6 Note: . 26 27 DS5 DISPLAY ~';bJ A12 ~ 25 «:%1. Jf ",Y ~ f;i.
The easiest method of doing this is to insert each button in its turn, bend its leads over on the back of the board to hold it in place, and go on until all buttons are in place, then solder all of them in one pass, with the board lying flat on the work surface and weighted down to make sure the switches are uniformly held firmly against the front surface of the board. 0 2·16 Install the twenty-four pushbutton switches that make up the keyboard.
CHAPTER 3 FINAL ASSEMBLY AND CHECKOUT 3-1 GENERAL Now that most of the components are soldered on your circuit board, it's time to give your handiwork a quick visual check to make sure all of the devices are oriented correctly. The notched ends of the I Cs should all be toward your left, and the decimal points of the LED displays should be at the bottom line of the characters.
TABLE 3-1 ROM/PROM STRAPPING Device Location A14 8755 8355 8755A Figure 3-1 Figure 3-2a Figure 3-2b No Straps Required A15 Strap 28-29 Strap 29-30 Strap 31-32 Strap 32-33 Figure 3-1 Strapping Options for 8355 ROMs TABLE 3-2 TELETYPEWRITER-KEYBOARD STRAPPING TELETVPEWRITER Figure 3-3 KEYBOARD Figure 3-4 Strap 22-23 Strap 23-24 TABLE 3-3 DISABLING UNUSED KEYBOARD CONTROLLER FUNCTIONS Figure 3-5 Always strap 9-10. Always strap 11-12.
Figure 3-3 Teletypewriter Strapping Option Figure 3-5 Disabling Unused Keyboard Controller Functions 5 VOLT SUPPLY Figure 3-4 Keyboard-Display Strapping Option 10 VOLT SUPPLY Figure 3-6 Power Supply Connections 3-3
hole pattern on the board; if this connector is used, parallel two pins on the +5V bus and three pins on the GND bus. If you are going to use a teletypewriter, connect a -10 Volt power supply with its negative output at the -10V point on the board. Connect the positive side of the -10 Volt power supply to the GND bus. I CAUTION I 3-4 INSTALLING LARGE IC DEVICES When you've finished all soldering operations on the board and are ready to fire it up, then it's time to plug in the large ICs.
RST6_5 RESET ASTINI r~ • 07 1 ~ ~ o~." J 8212 A8 - A 15 ADDRESS DRIVER 1 n:... --'-___-. Y A6 I .9" I ~ ~ AD TTY INTERFACE 8212 AO -A7 ADDRFSS DRIVER --' Y1 '" j' ';12 c::::::J c." c::::::J R8 r! RESS DECODER 8205 ] -c:::=r-- • ---- CPU h 1 -- A13 0~ 8085 !!) VI 1 KEYBOARD DISPLAY CONTROLLER LOC 1800H 1900H Figure 3-7 Strapping Options for Basic Kit (No Bus Expansion) ~A~ 74S00 KEYBOARD AND h i~ DISPLAY A12JSC~tLS6~~ODERJ 27 0 ...
I CAUTION I Large-scale integrated circuits are fragile! Dropping, twisting, or uneven pressure may break them. The discharge of static electricity can destroy them internally. Leave them embedded in the conductivefoam backing sheet until ready to install on the board. Never press down hard upon, twist, or bend the larger devices. Touch the exposed metal traces of the board with your hand before inserting one in its socket. The soldering of large devices directly on the circuit board is not recommended.
3-6 WHAT IF IT DOESN'T? If there is no response to the 8 command, D Use the multimeter to check for the presence and proper polarity of +5 Volts on the board. D Check all of the strapping connections, and be sure they are in the right places for the configuration you chose. D Check carefully the seating of each and every pin of each of the four large ICs. Be sure no pins have accidentally bent over and missed the socket.
3-7 CONNECTING A TELETYPEWRITER If you wish to use a teletypewriter with your SOK-85 computer, connect it at Interface Connector J7 as shown in Table 3-5. You may use either a male connector or a female connector. (See Table 3-11.) Only four pins of this connector are assigned for Teletypewriter use; the remaining pins may be wire-wrapped to serve any function you choose. TABLE 3-6 BUS EXPANSION CONNECTOR J1 PIN ASSIGNMENTS ASSIGNMENT UI'IU ,..1\1,", ..I L.
TABLE 3-7 BUS EXPANSION CONNECTOR J2 PIN ASSIGNMENTS ASSIGNMENT GND PIN PIN 1 2 MARKING RDY ASSIGNMENT I/O I READY - 0 RDI Buffered WR Buffered RD 8 101M Buffered 101M 0 9 10 A15 Buffered A 15 0 GND 11 12 Buffered A 14 0 GND 13 14 Buffered A 13 0 GND 15 16 Buffered A 12 0 GND 17 18 Buffered A 11 0 GND 19 20 Buffered A 10 0 GND 3 4 WRI GND 5 6 GND 7 GND Cf) 0 GND 21 22 ::) Buffered A9 0 GND 23 24 Cf) Cf) Buffered A8 0 Buffered A7 0 Buff
TABLE 3-8 I/O PORT CONNECTOR J3 PIN ASSIGNMENTS PIN PIN Pl-6* 1 2 Pl-4 3 4 Pl-2 5 6 P1-0 7 8 PO-6 9 10 PO-4 11 12 PO-2 13 14 PO-O 15 16 P9-6 17 18 P9-4 19 20 P9-2 21 22 P9-0 23 24 P8-6 25 26 P8-4 27 ASSIGNMENT P8-2 29 P8-0 31 32 GROUND 33 34 *Note: 3-10 28 " ASSIGNMENT MARKING l Pl-7 Pl-5 PORT 1 J Pl-3 l PO-7 J PO-3 l P9-7 J l P9-3 P1-1 PO-5 PORTO PO-1 P9-5 PORT9 I 30 PORTS P9-1 P8-7 I J 1. Pn-m stands for PORT n Bit m (e.g.
TABLE 3-9 I/O PORT CONNECTOR J4 PIN ASSIGNMENTS PIN PIN MARKING ASSIGNMENT P23H-4 1 2 P23H-5 P23H-2 3 4 P23H-0 5 6 l PORT 23H J P22H-6 7 8 P22H-4 9 10 P22H-2 11 12 P22H-0 13 14 P21 H-6 15 16 P21 H-4 17 18 P21 H-2 19 20 P21 H-O 21 22 OPEN 23 24 OPEN GROUND 25 26 GROUND ASSIGNMENT Note: Port 21 H is Port A Port 22H is Port B Port 23H is Port C I P23H-3 P23H-1 l P22H-7 J l P22H-3 PORT 22H PORT 21 H J P22H-5 P22H-1 P21 H-7 P21 H-5 P21 H-3 P21 H-1 of 8
TABLE 3-10 1/0 PORT AND TIMER CONNECTOR J5 PIN ASSIGNMENTS PIN PIN MARKING ASSIGNMENT P2BH-4 1 2 P2BH-5 P2BH-2 3 4 P2BH-0 5 6 1 PORT 2BH J P2AH-6 7 8 P2AH-4 9 10 P2AH-2 11 12 P2AH-0 13 14 ASSIGNMENT O')QU I a. 11:: I~ L.
TABLE 3-11 SUGGESTED CONNECTOR TYPES REFERENCE DESIGNATION FUNCTION NO.OF PINS MFR. MFR'S. PART NO. J1 Bus Expansion 40 3M 3432-4005 J2 Bus Expansion 40 3M 3432-4005 J3 I/O Ports 34 3M 3431-4005 J4 I/O Ports 26 3M 3429-4005 J5 I/O Ports and Timer 26 3M 3429-4005 J6 Not Used J7 TTY Interface Female} .
CHAPTER 4 OPERATING INSTRUCTIONS 4-1 WHAT IT DOES The things you can do with the basic SDK-85 kit are: • Examine the contents of all memory and register locations • Deposit program steps or data in RAM or register locations ~ Execute programs command or subroutines upon i.e., only the last four or the last two digits entered wi II be accepted. As noted, the number system being used in the SD K-85 is the hexadecimal, or base-16 number system.
Whenever the monitor expects a command, the display shows a dash ("_") at the left edge of the address field (possibly along with an error message). When the monitor expects a parameter, a decimal point wili be displayed at the right edge of the field into which the argument will be placed. A parameter will be either an address or a byte of data which is used during the execution of a command. In the descriptions of the command modes, upper case letters and numbers enclosed in boxes represent keyboard keys.
Whenever the command changes the contents of a memory location, it also verifies that the change has occurred correctly. If the contents of the location do not agree with what the new value should be (i.e., if the memory location is in ROM or is nonexistent), an error message is generated. SUBSTITUTE MEMORY EXAMPLE 2 Using ~ to enter a small program: ADDR KEY DATA ~ MEM SUBSTITUTE MEMORY EXAMPLE 1 sing ~ MEM to U' locations: KEY list the first ADDR few Monitor DATA ~ MEM [I] ~ ~ ~ ~ El 0000.
Examine Registers: ~ B:J «data» B:J «data» TABLE 4-2 REGISTER DISPLAY SEQUENCE ... ~ KEY /DISPLA Y CODE The examine command allows you to display and modify the contents of the 8085 CPU registers. Pressing the·~ key blanks both the address and data fields, and displays a decimal point at the right edge of the address field. At this point, you must press a register key (register names are denoted by legends on the keyboard). Any other key will generate an error response.
EXAMINE REGISTER EXAMPLE 1 EXAMINE REGISTER EXAMPLE 2 Using ~ to initialize the 8085's stack pointer to 20C8: Using ~ to examine the contents of the 8085's Registers: KEY ADDR DATA ADDR KEY DATA ~ fExAMl ~ REG SPH ** 0 SPH 02. SPH 20. SPL ** SPL OC. SPl C8.
Go: o «address» ~ 0 Pressing the key causes the contents of the program counter (PCH and PCL) to be displayed in the addressed field, along with a decimal point at the right edge of the fieid. The program counter is available for change, and any number entered (a number is optional) becomes the new contents of the program counter. Pressing the ~ key transfers control of the CPU to the address in the address field (contents of the program counter).
GO COMMAND EXAMPLE Now you can execute the program you entered in Example 2 of the ~ command. First, check to make sure the 3- location program is in memory, then the program will be executed. Recall that this small program loads the A register with the nu mber 47 and restarts the monitor. To verify that the A register now holds 47 and to get more practice using ~ try the following sequence: KEY KEY ADDR DATA COMMENTS ADDR DATA COMMENT 47. A reg now I'EiAMl fSiiBsTl ~ ~ 0002. A holds 47.
Single Step: SJ~W «address» EJ EJ ... ~ Pressing the S~~~~E key causes the contents of the program counter (PCH and PCl) to be displayed in the address field of the display along with a decimal point at the right hand edge of the field. The data field contains the contents of the address denoted by the contents of the program counter. The program counter is made available for change, and any number entered (a number is optional) becomes the new contents of the program counter.
Vector Interrupt: G The @[J key is similar to the key in the respect that it takes control away from the monitor and gives it to another program. The interrupt key causes immediate recognition of RST 7.5 interrupt and control passes to location 3C in the monitor. This location contains an unconditional branch to instruction location 2004 in user RAM. You may place any instruction you wish in Locations 2004 thru 2006 (e.g., a branch to a keyboard interrupt routine).
The only command requiring an alphabetic parameter is the IIX" command. The nature of such parameters will be discussed in the section explaining the command. Display Memory Command, D: o , Selected areas of addressable memory may be accessed and displayed by the 0 command. The o command produces a formatted listing of the memory contents between and , inclusive, on the console.
Insert Instructions into RAM, I: I
Single instructions, or an entire user program, are entered into RAM with the I command. After sensing the carriage return terminating the command line, the monitor waits for the user to enter a string of hexadecimal digits (O to 9, A to F). Each digit in the string is converted into its binary value, and then loaded into memory, beginning at the starting address specified and continuing into sequential memory locations.SUDstitute Memory Command, S: X TABLE 4-3 COMMAND REGISTER IDENTIFIERS S
«data» IDENTIFIER The S command allows you to examine and optionally modify memory locations individually. The command functions as follows: 1. CODE Type an S, followed by the hexadecimal address of the first memory location you wish to examine, followed by a space or comma. 2. The contents of the location are displayed, followed by a dash (-).5. If a carriage return is typed in step (1) above, an annotated list of all registers and their contents is displayed. Note: The bits in the flag byte (F) and interrupt mask (I) are encoded as follows: Error Conditions - Invalid Characters Each character is checked as it is entered from the console. As soon as the monitor determines that the last character entered is illegal in its context, it aborts the command and issues an "*" to indicate the error.
CHAPTER 5 THE HARDWARE 5-1 OVERVIEW This portion of the SDK-85 User's Manual should provide you with sufficient knowledge to write programs to exercise the basic system as well as providing capability to use the basic kit as a nucleus around which you can build larger systems. Figure 5-1 is a functional block diagram of the SDK-85. The components enclosed in dashed boxes have places in the SDK-85 printed circuit board, but these are not needed for a minimum system and are not included in the kit.
The 8355 & 8755 The 8279 The 8355 and 8755 are two more chips specially designed for compatibility with 8085 systems. The 8355 contains 2048 bytes of mask programmed read only memory (ROM) and 16 I/O lines. The 8755 has an identical function and pinout to the 8355, but contains ultraviolet erasable and reprogrammable read only memory (EPROM) instead of the ROM. The 8279 is a keyboard/display controller chip that handles the interface between the 8085 and the keypad and LED display on the SDK-85 board.
TABLE 5-1 8205 CHIP ENABLES OUTPUT ACTIVE ADDRESS RANGE SELECTED DEVICE CSO 0000-07FF 8755/8355 MONITOR ROM (A14) CS1 0800-0FFF 8755/8355 EXPANSION ROM (A 15) CS2 1000-17FF N/C CS3 1800-1 FFF 8279 KEYBOARD/DISPLAY CONTROLLER (A13) CS4 2000-27FF 8155 BASIC RAM (A16) CS5 2800-2FFF 8155 EXPANSION RAM (A 17) CS6 3000-37FF N/C CS7 3800-3FFF N/C = I C# on schematic diagram in Appendix N/C = not connected - avilable for user expansion AXX 5-3 SDK-85 MEMORY ADDRESSING Each memory/I/O
TABLE 5-2 MONITOR-RESERVED RAM LOCATIONS LOC. 20C8 User may place a JMP instr. to a RST 5 routine in locs 20C8-20CA. 20CB JMP to RST 6 routine 20CE JMP to RST 6.
MEMORY ADDRESS FFFFl I MEMORY SPACE WHERE EXPANSION BUFFERS r 1 ARE ENABLED 8000 I-----~ 7FFF r~ OPEN ,. ACTIVE 8205 CHIP ENABLE 3000 2FFF is described in detail in the 8085 manual. The functional positioning of the optional latch, buffers, and drivers in the SDK-85 system structure is shown in Figure 5-1. As Figure 5-2 indicates, the optional expansion buffers leading to the SDK-85 board's prototyping area are enabled only over the address range 8000-FFFF.
TABLE 5-3 SDK-85 I/O PORT MAP IpORTi tl'b e/~/~ FUNCTION 00 Monitor ROM PORT A 01 Monitor ROM PORT B 02 Monitor ROM PORT A Data Direction Register d MSB I Aal A21 AI deb d.p. LSB IIl AO 82 1 81 1 80 8a a d .p.
The display digits are stored within the 8279 display RAM in the locations listed in Table 5-5. 0 1 2 PURPOSE Address digit 1 2 3 4 3 4 Data Digit 5 6 7 THE SERIAL DATA INTERFACE The SDK-85 has the capability of communicating with a teletype, using the 8085 serial input and serial output data lines (SI D and SOD respectively) to send and receive the serial bit strings that encode data characters.
5-7 CONVERTER CIRCUIT FOR RS232C SERIAL PORT If you are fortunate enough to have a CRT terminal that can operate at a 11 O-baud rate, and wish to use it with the SDK-85 computer, you may find that it is compatible only with RS232c" voltage-level serial ports and not with current loops. If this is the case, 1/ o Wire the MC1488 and MC1489 converter circuit (shown in Figure 5-5) into the wirewrap area of the SDK-85 board. o Remove R6, and connect the input line of the converter circuit to its lower pad.
CHAPTER 6 THE SOFTWARE 6-1 THE SDK-85 MONITOR The SDK-85 monitor program provides utility functions employing either a teletypewriter or the kit's on-board keyboard and display as console. The program resides in 2k (k = 1024) bytes of the ROM memory, between location 0 and location 7 F F. the routines that service each console device are independent; the two devices do not function simultaneously.
TABLE 6-1 MONITOR ROUTINE CALLING ADDRESSES Ca iii ng Address Mnemonic 07FD CI Description Console Input This routine returns a character (in ASCII code - see 8085/8080 reference card for codes) received from the teletype to the caller in the A register. The A register and CPU condition codes are affected by th is operation 07FA co Console Output This routine transmits a character (in ASCII code), passed from the caller in the C register, to the teletypewriter.
TABLE 6-1 MONITOR ROUTINE CALLING ADDRESSES (CONT'D) Calling Address Mnemonic 02B7 OUTPT Description Output Characters to Display The routine sends characters to the display with the parameters set up by registers A, B, Hand L. Reg A = 0 = use address field = 1 = use data field Reg B = 0 = decimal point off = 1 = decimal point at right edge of field Reg H L = starting address of characters to to sent.
PROGRAM EXAMPLE - RDKBD 0 After executing 2000, the program waits until a key is pressed. Then the value of the key is placed in the A register and the monitor is restarted. Use ~ to see that the key value is now in the A register. LOC CONTENTS SYMBOLIC 2000 2001 2002 2003 2004 2005 31 C8 20 3E 08 30 LXI SP, 20C8H SIM ; unmask interrupt 2006 FB r-I • ,..ro.""hln in+n ......
PROGRAM EXAMPLE - RDKBD, UPDDT Putting the two preceding examples together into one program causes the display to show the key value.
PROGRAM EXAMPLE - COUNTDOWN The following program displays a count in the data field of the display. The count may be stopped by pressing the @ill button. The count resumes when any other key (except is pressed. The "E" in the address field of the display signifies that a user program is executing.
PROGRAM EXAMPLE - FLASH HELP Load into Locations 2000 through 2007 (use the Substitute Memory command) the following data: 10, OE, 11, 12, 15,15,15,15. Then load and execute the following program (G2010~). The display will flash JlHELP".
APPENDIX A MONITOR LISTING
ASM80 :F1:SDK85.SRC MOD85 MACROFILE XREF PRINT(:F3:SDK85.LST) ISIS-II 8080/8085 MACRO ASSEMBLER, X108 LOC OBJ SEQ SDK85 PAGE SOURCE STATEMENT 1 ;******************************************1******1**111111**11*1****** 2 PROGRAM: SDK-85 MONITOR 3 VER 1.2 4 5 6 7 8 9 COPYRIGHT (C) 1977 INTEL CORPORATION 3065 BOWERS AVENUE SANTA CLARA, CALIFORNIA , 95051 10 ,.*********************************************************************.
SDK85 ISIS-II 808018085 MACRO ASSEMBLER, Xl0S LOC OE] PAGE 2 SOURCE STATEMENT SEQ CLDST DISPC ERH GTHEX HXDSP ININT I!,;SDG NXTRG OUTPT RDKBD RETF RETT RGLOC RSTOR SETRG UPDAD UP DDT 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 NAME SDK85 , 73 ;******.
ISIS-II 8080/8085 MACRO ASSEMBLER, X108 LOC 1900 0011 0000 0020 0094 0001 1800 0001 0008 0080 OOCC 0000 20E9 0000 0010 OOFB 0040 0025 0024 0040 ooco OOOE 20C8 00C5 OBJ SEQ 108 109 110 1 11 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 1 31 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 SDK85 PAGE 3 SOURCE STATEMENT ADDRESS FOR SENDING CONTROL CHARACTERS TO /DISPLAY CHIP COMMA FROM KEYBOARD COMM
ISIS-II 8080/8085 MACRO ASSEMBLER, xl08 LOC OBJ SEQ 0038 ***** 163 164 ***** 165 166 167 168 169 CLDBK: 170 ***** 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 ***** 190 191 192 193 ***** 194 195 196 197 196 ***** 199 200 201 202 203 204 ***** 205 206 207 208 *1*** 209 210 211 212 213 214 ***** 215 216 QQ38 C3!)'!2Q ')1r'7 '-, I 0000 3EOO 0002 320019 0005 C3F'101 0008 0008 0008 OOOC OOOF 0010 0011 0014 0017 0018 001B 001E 001F 0020 0021 22EF20 El 22F220 F5 El 22ED20 2
SDK85 ISIS-II 8080/8085 MACRO ASSEMBLER, X108 LOC OBJ 003C 003C C3D420 003F 0040 0042 0045 0047 0048 20 E60F 32F120 3EOE 30 F3 0049 20 004A 07 004B DAFA03 004E AF 004F 0600 0051 21A603 0054 0057 0059 005B CDB702 3E01 0600 21AA03 005E CDB702 0061 3E80 006332r'E20 0066 21E920 0069 F9 006A 006D 006F 0070 0072 210019 3690 25 36FB CDE702 SEQ 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 25
ISIS-II 8080/8085 MACRO ASSEMBLER, X108 LOC OBJ 0075 010400 0078 217803 007B 007C 007F 0080 0081 BE CA8700 23 OD C27BOO SEQ 273 274 275 C!'-iD10: 276 277 278 279 280 281 0084 C31502 0087 217C03 008A OD OOBB 008C 008D 008E 008F 0090 09 09 7E 23 66 6F 0091 E9 0092 0601 0094 CDD701 0097 CD4403 009A D21502 009D OOAO 00A3 00A4 00A7 00A9 OOAC OOAE CD0903 CDFC02 7E 32F820 060i CD6B03 0601 CD2B02 OOB 1 D2B800 00B4 CDFC02 SDK85 PAGE 6 SOURCE STATEMENT LXI LXI B,NUMC H,CMDTB COUNTER FOR NUMBER OF CO
ISIS-II 8080/8085 MACRO ASSEMBLER, x108 LDC OBJ 00B7 73 00B8 OOBA OOBD OOBF 00C2 FE10 CAE901 FE11 C21502 CDA802 00C5 DA9DOO 00C8 C3E901 OOCB OOCE 00D1 00D3 CD0002 CDE702 FE10 CAECOO 00D6 00D9 OODB OODE OOEO 00E3 00E5 00E8 00E9 32FE20 0601 CDD701 0600 CD2B02 FE10 C21502 EB 22F220 OOEC OOEE OOF 1 00F2 00F4 00F7 OOFA 0600 CDD701 AF 0600 21A203 CDB702 C31B03 SEQ SDK85 PAGE 7 SOURCE STATEMENT UPDATE REGISTER CONTENTS MOV M,E 328 329 EXM10: WAS LAST CHARACTER A PERIOD ? CPI PERIO 330 YES - CLEAR D
ISIS-II 8080/8085 MACRO ASSEMBLER, Xl08 LOC OBJ OOFD 0100 0103 0105 0108 010A CD0002 CDE702 FE10 CAE901 FEll CA2601 010D 32FE20 0110 0601 0112 CDD701 01150600 0117 CD2B02 011A 011 D 011E 0121 0123 D21502 EB 22F220 FE10 CAE901 0126 3AF120 0129 E608 012B 32FD20 012E 2AF220 0131 7E 0132 FEF3 0134 C23BOl 0137 AF 0138 C34201 013B FEFB 013D C24501 0140 3E08 0142 32FD20 0145 3E40 0147 0149 014B 014D 0150 0152 0154 D325 3EC5 D324 3AFF20 F6CO D320 C31B03 0157 F5 0158 3AFF20 015B E63F 015D F640 015F D320 016
ISIS-II 8080/8085 MACRO ASSEMBLER, X10S LOC OBJ 0165 0166 0169 016A 016B 016E 0171 0172 0175 0178 0179 017A o 17B 017C 017E 0181 0182 0185 0187 0188 E1 22F220 F5 E1 22ED20 210000 39 22F420 21ED20 F9 C5 D5 20 E607 21FD20 E6 32F120 3EOE 30 C3FDOO 018B 018D 0190 0192 0601 CDD701 0600 CD2B02 0195 D21502 0198 EB 0199 22Fq20 019C 019E 01Al 01A3 01A6 01A9 01AA 01AD OlAF 01B2 01B4 01B7 FEll C2CFOl 0600 CD5F03 2AF620 7E 32F820 0601 CD6B03 0601 CD2B02 F5 01B8 D2C401 01BB 2AF620 01BE 73 SEQ SDK85 PAGE 9 S
ISIS-II BOBO/808S LOC OBJ ~ACRO ASSEMBLER, X108 SEQ 01C4 2AF620 01C7 23 OlCB 22F620 01CB F1 502 OlCC C39COl 503 504 505 506 507 50B 509 510 5 11 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 53B 539 540 541 542 543 544 545 546 547 OlCF FE10 OlDl C2l502 01D4 C3E901 01D7 AF 01D8 01DB 01DE 01EO 01E2 01E5 01EB 219A03 CDB102 3EOl 0600 219A03 CDB702 C9 PAGE 10 SOURCE STATEMENT 493 494 495 496 497 498 SUB10: 499 500 501 OlBF 7B OlCO BE 01 C1
SDK85 ISIS-II 8080/8085 MACRO ASSEMBLER, x108 LOC OBJ 01E9 0600 01EB CDD701 01EE C36600 01F1 01F3 01F6 01F8 01FA 01FD 0200 0203 0206 0207 020A 020C 020F 0211 0214 3ECC 320019 3EOO D320 32FF20 C30800 2AF220 22F620 7E 32F820 0601 CD5F03 0600 CD6B03 C9 SEQ 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 PAGE 11 SOURCE STATEMENT CL
ISIS-II 8080/8085 MACRO ASSEMBLER, X108 LOC OBJ 0215 0216 0218 021B 021E 0220 0222 0225 0228 AF 0600 219E03 CDB702 3E01 0600 219A03 CDB702 C36600 022B 022D 022E 0231 OEOO C5 110000 D5 0232 CDE702 0235 FE10 0237 D25502 023A D1 023B f"'I"'ro.!":"",,", VJ.J ';j L' V t:: SEQ PAGE SDK85 12 SOURCE STATEMENT DESCRIPTION: ERR IS JUMPED TO BY COMMAND ROUTINES WISHING TO 603 TERMINATE BECAUSE OF AN ERROR. 604 ERR OUTPUTS AN ERROR MESSAGE TO THE DISPLAY AND 605 BRANCHES TO THE COMMAND RECOGNIZER.
SDK85 ISIS-II 8080/8085 MACRO ASSEMBLER, X108 LOC OBJ 023E C1 023F OE01 0241 0242 0243 0244 0245 C5 D5 78 OF D24902 0248 53 0249 CD6C02 024C 024D 024F 0252 78 0601 CDB702 C33202 0255 0256 0257 0259 025C 025E D1 C1 FE11 CA6702 FE10 CA6702 0261110000 0264 C3F702 0267 0268 0269 026A 026B 47 79 OF 78 C9 026C 7A 026D OF 026E OF SEQ 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700
ISIS-II 8080/8085 MACRO ASSEMBLER, X108 LOC OBJ 026F 0270 0271 0273 0276 0277 0278 027A 027B OF OF' E60F 21F920 77 7A E60F 23 77 uc."( v """'f"7r"o r"'1T") 027D 027E 027F 0280 0281 0283 0284 0285 0286 0288 0289 028A 028D OF OF OF OF E60F 23 77 7B E60F 23 77 21F920 C9 r SEQ RRC RRC ANI LXI MOV MOV ANI INX MOV ....
SDK85 ISIS-II 8080/8085 MACRO ASSEMBLER, x108 LOC 029F 0211.0 0211. 1 0211.2 0211.3 .0211.4 0211.5 0211.6 0211.7 0211.
ISIS-II 8080/8085 MACRO ASSEMBLER, X108 LOC OBJ SEQ SDK85 OUTPT SENDS CHARACTERS TO THE DISPLAY. THE ADDRESS OF THE CHARACTERS IS RECEIVED AS AN ARGUMENT. EITHER 2 CHARACTERS ARE SENT TO THE DATA FIELD, OR 4 CHARACTERS ARE SENT TO THE ADDRESS FIELD, DEPENDING ON THE DISPLAY FLAG ARGUMENT. THE DOT FLAG ARGUMENT DETERMINES WHETHER OR NOT A DOT (DECIMAL POINT) WILL BE SENT ALONG WITH THE LAST OUTPUT CHARACTER.
ISIS-II 8080/8085 MACRO ASSEMBLER, Xl08 LOC OBJ 02E7 21FE20 02EA 7E 02EB 02EC 02EF 02FO B7 F2F302 FE C3E702 02F3 3680 02F5 F3 02F6 cg 02F7 37 02F8 3F 02F9 C9 02FA 37 o2FB C9 SEQ 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 91 1 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 SDK85 PAGE 17 SOURCE STATEMENT THE BUFFER CONTAINS A CHARACTER, THE FUNCTION FLAGS THE BUFFER AS EMPTY
ISIS-II 8080/8085 MACRO ASSEMBLER, X108 LOC 02FC 02FF 0301 0304 0305 0306 OBJ 2AFD20 2600 01ED03 09 6E 2620 0308 C9 0309 030C 030E 030F 0310 0313 2AFD20 2600 29 29 01B903 09 0314 0315 0317 031A AF 0600 CDB702 C9 SEQ PAGE SDK85 18 SOURCE STATEMENT DESCRIPTION: RGLOC RETURNS THE SAVE LOCATION OF THE REGISTER 933 INDICATED BY THE CURRENT REGISTER POINTER VALUE.
SDK85 ISIS-II 8080/8085 MACRO ASSEMBLER, xl08 LOC OBJ 031B 3AF120 031E F618 0320 30 0321 0324 0326 0329 032A 3AF120 E608 CA2D03 FB C33103 032D 37 032E D23103 0331 0334 0335 0336 0337 0338 033B 033C 033F 0340 0343 21E920 F9 Dl Cl Fl 2AF420 F9 2AF220 E5 2AEF20 C9 0344 CDE702 0347 FE10 0349 D2F702 034C D603 SEQ 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 101 1 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028
ISIS-II 8G80/8085 MACRO ASSEMBLER, X108 LOC OEJ SEQ 034E 0351 0352 0354 0357 0358 0359 035C DAF702 4F 0600 21AC03 09 7E 32FD20 C3FA02 1043 1044 1045 1046 1047 1048 1049 1050 1051 11"\[:""'" IV:';':' 035F 2AF620 0362 EB 0363 CD6C02 0366 AF 0367 CDB7C2 036A C9 0368 3AF820 036E 57 036F CD6C02 0372 3E01 0374 CDB702 0377 C9 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 10BO 1081 10B2 1083 10B4 1085 1086 1087 10B8 10
ISIS-II 808018085 MACRO ASSEMBLER, 1108 LOC 0378 0379 037A 037B 0004 OBJ 12 13 14 15 SEQ 1098 1099 1 100 1 101 1 102 1 103 1104 1105 1106 1 107 1 108 1109 1110 SDK85 PAGE 21 SOURCE STATEMENT , ,.***~************************************************* ***************** ; COMMAND TABLE ; COMMAND CHARACTERS AS CMDTB: DB 12H DB 13H 14H DB DB 15H EQU $-CMDTB RECEIVED FROM KEYBOARD GO COMMAND SUBSTITUTE MEMORY COMMAND EXAMINE REGISTERS COMMAND SINGLE STEP COMMAND NUMBER OF COMMANDS , ,.
ISIS-II 8080/8085 MACRO ASSEMBLER, x108 LOC OBJ SEQ 0393 0010 0394 0011 0395 0012 0396 0013 0397 0014 0398 0015 0399 17 1153 1154 1155 1156 1157 1158 1159 1160 1 16 1 1162 1163 1164 1165 1166 67 83 37 60 05 00 ~ 039A 039B 039C 039D 039E 039F 03AO o3A 1 03A2 o3A 3 03A4 03A5 15 15 15 15 15 OE 14 14 OE 15 15 15 03A6 o 3A 7 03A8 03A9 03AA 03AB 15 15 08 00 08 05 SDK85 PAGE 22 SOURCE STATEMENT LETRH LETRL LETRP LETRI LETRR BLANK , DB EQU DB EQU DB EQU DB EQU DB EQU DB EQU DB 17H $ - DSPTB 67H ;
ISIS-II 8080/8085 MACRO ASSEt-IBLER, x108 SDK85 PAGE 23 LOC OBJ SEQ 03B2 03B3 03B4 03B5 03B6 03B7 03B8 08 00 01 02 03 04 05 03B9 03BA 03BB 03BC 03BD 03BE 03BF 03CO 03C1 03C2 03C3 03C4 03C5 03C6 03C7 03C8 03C9 03CA 03CB 03CC 03CD 03CE 03CF 03DO 03D 1 03D2 03D3 03D4 03D5 03D6 03D7 03D8 03D9 03DA 03DB 03DC 03DD 03DE 03DF 03EO 03E1 03E2 03E3 15 15 15 OA 15 15 15 OB 15 15 15 OC 15 15 15 OD 15 15 15 OE 15 15 15 OF 15 15 15 13 15 15 15 10 15 15 15 11 15 05 12 10 15 05 12 DB L 8 1195 A DB 1196 0 B DB 119
SDK85 ISIS-II 8080/8085 MACRO ASSEMBLER, X108 LOC OEJ 03E4 03E5 03E6 03E7 03E8 03E9 03EA 03EE 03EC 11 15 12 OC 10 15 03ED 03EE 03EF 03FO 03F1 03F2 03F3 o3I<'4 03F5 03F6 03F7 03F8 03F9 OOOD EE EC EB EA E9 ED F1 FO EF F5 F4 F3 F2 SEQ PAGE SOURCE STATEMENT COUNTER HIGH 1218 DB BLANK,LETRP,LETRC,LETRH PROGRA~ E~TE 1219 DB BLANK,LETRP,LETRC,LETRL PROGRAM COUNTER LOW BYTE i 2 OC 11 1220 , 1221 ,.*********************.** •• ***********************.
ISIS-II 8080/8085 MACRO ASSEMBLER, Xl08 LOC OBJ SEQ 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 SDK85 PAGE 25 SOURCE STATEMENT ======= ============ THE LISTING IS ORGANIZED IN THE FOLLOWING WAY.
ISIS-II 8080/8085 MACRO ASSEMBLER, x108 LOC 001B 07FA OOOD 001B OOOF OOFF OOOA 0000 UJjJ SEQ 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 0080 0040 OOCO 001B OOFF 0480 0480 0900 0240 PAGE 26 SlAt~MhNl ,.********************************** ••• * •• *.** •• ******.****.****.** BRCHR BRTAB CR ESC HCHAR INVRT LF LOWER jLSGNON jMNSTK EQU EQU EQU EQU EQU EQU EQU EQU EQU EQU 1BH 07FAH ODH lBH OFH OFFH OAH o ",,,,,-.
ISIS-II 8080/8085 MACRO ASSEMBLER, X108 LOC OBJ 03FA 218C07 03FD 0614 03FF 0400 0403 0404 0405 4E CDC405 23 05 C2FF03 0408 040B 040C 040E 0411 21E920 F9 OE2E CDF805 C31404 0414 0417 041A 041B 041E CD1F06 CDF805 79 010600 21AE07 SEQ 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390, 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1 41 1 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429
ISIS-II B080/B085 MACRO ASSEMBLER, x10B SDK85 LOC OBJ SEQ 0421 0422 0425 0426 0427 042A BE CA2D04 23 OD C22104 C31106 1431 1432 1433 1434 1435 1436 1437 GTC10: CMP JZ INX DCR JNZ JMP M 143B LXI H,CADR 1439 1440 1441 1442 1443 1444 DAD DAD MOV INX MOV B B 042D 21A007 0430 0431 0432 0433 0434 ol! 3 S 0436 09 09 7E 23 66 1448 0437 0439 043C 043D OE02 CD5B06 D1 E1 043E 0441 0442 0445 0446 CDEB05 7C CDC706 7D CDC706 0449 044B 044E 044F 0452 OE20 CDFB05 7E CDC706 CDA006 GTC10 H C GTC05
ISIS-II 8080/8085 MACRO ASSEMBLER, X108 LOC OBJ 045B C30804 045E 23 045F 7D 0460 E60F 0462 C24904 0465 C33E04 0468 CD2606 046B 046E 046F 0471 0474 0477 0478 0479 047A D27D04 7A FEOD C21106 21F220 71 23 70 C38304 047D 7A 047E FEOD 0480 C21106 0483 C31B03 0486 OE01 0488 CD5B06 048B 3EFF SEQ SDK85 PAGE 29 SOURCE STATEMENT GETCM ALL DONE JMP 1486 1487 DCM15: INX H IF MORE TO GO, POINT TO NEXT LOC TO DISPLAY 1488 A,L GET LOW ORDER BITS OF NEW ADDRESS MOV 1489 ANI NEWLN SEE IF LAST HEX DIGIT OF ADDRES
ISIS-II 8080/8085 MACRO ASSEMBLER, X108 LOC OBJ 048D 32FD20 0490 D1 0491 0494 0495 0498 0499 049B 049E CD1F06 4F CDF805 79 FE1B CAC704 CD7907 04A1 DA9104 04A4 CD5E07 04A7 04AA 04AD 04AE 04B1 04B4 04B5 04B8 D2Cl04 CDBB05 4F CD3F07 3AFD20 B7 C2B904 13 04B9 EEFF 04BB 32FD20 04BE C39104 04C1 CD3407 04C4 C31106 04C7 CD3407 04CA CDEE05 04CD C30804 SEQ OE03 CD5B06 C1 E1 D1 04D8 E5 04D9 62 04DA 6B STA POP D CALL MOV CALL MOV CPI JZ CALL TRUE JC CALL FALSE GETCH C,A ECHO A,C TERM ICM25 VALDL ICM05 ICM0
ISIS-II 8080/8085 MACRO ASSEMBLER, xi08 SDK85 PAGE 31 SOURCE STATEMENT LOC OBJ SEQ 04DB 04DC 04DD 04DE 04DF 04EO 04E1 04E2 04E5 04E6 04E7 7E 60 69 77 03 78 B1 CA0804 13 E1 CDA006" A,M GET SOURCE BYTE MOV 1596 H,B MOV 1597 L,C DESTINATION ADDRESS TO HL MOV 1598 MOVE BYTE TO DESTINATION M,A MOV 1599 B INCREMENT DESTINATION ADDRESS INX 1600 MOV A,B 1601 TEST FOR DESTINATION ADDRESS OVERFLOW ORA C 1602 GETCM IF SO, CAN TERMINATE COMMAND JZ 1603 INCREMENT SOURCE ADDRESS D 1604 INX ELSE, GET BACK ENDING
ISIS-II 8080/8085 MACRO ASSEMBLER, X108 LOC OBJ 0514 0517 0518 05.
ISIS-II 8080/8085 MACRO ASSEMBLER, x108 LOC OBJ 0567 OE2D 0569 CDF805 056C CD2606 056F 0572 0573 0576 0577 0578 0579 057C 057D D28705 7A 32FD20 F1 E1 B7 CA7E05 70 2B 057E 71 057F 0582 0583 0584 110300 E1 19 C33605 0587 0588 058B 058c 058D 7A 32FD20 D1 D1 C37F05 0590 F3 0591 D5 0592 20 0593 17 0594 DA9205 SEQ SDK85 PAGE 33 SOURCE STATEMENT 1706 XCM20: MVI 1707 C, ' - ' USE DASH AS SEPARATOR CALL ECHO 1708 SEE IF THERE IS A VALUE TO PUT INTO REGISTER GETHX CALL 1709 NO - GO CHECK FOR NEXT REGIST
SDK85 ISIS-II 8080/8085 MACRO ASSEMBLER, Xl08 LOC OBJ SEQ 0597 059A 059D 059E 114002 CDF105 C5 010800 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 if77 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1195 1196 1197 1198 1199 1800 1801 1802 1803 05Al 05A4 05A7 05A8 05A9 05AA 05AB 05AC 05AD 05BO 05B3 118004 CDF105 20 17 78 lF 47 OD C2Al05 118004 CDF105 05B7 05B8 05B9 05BA Cl D1 FB C9 t""r- ......
ISIS-II 8080/8085 MACRO ASSEMBLER, X108 LOC OBJ SEQ 05C4 05C5 05C6 05C7 05C9 F3 C5 D5 3ECO 0607 05CB 05CC 05CF 05D2 05D3 05D4 05D5 05D7 05D8 05DA 05DB 05DE 05EO 05E1 05E4 05E7 05E8 05E9 05EA 30 118004 CDF105 79 1F 4F 3E80 1F EE80 05 F2CB05 3E40 30 110009 CDF105 D1 C1 FE C9 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1
ISIS-II 8080/8085 MACRO ASSEMBLER, Xl08 LOC OBJ 05Fl 05F2 05F3 05F4 05F7 lB 7A B3 C2Fl05 C9 SEQ SDK85 PAGE 36 SOURCE STATEMENT 1871 DELAY: DECREMENT INPUT ARGUMENT DCX D 1872 MOV A,D 1873 ORA E 1874 IF ARGUMENT NOT 0, KEEP GOING JNZ DELAY 1875 RET 1876 1877 1878 ; , 1879 .
ISIS-II 8080/8085 MACRO ASSEMBLER, x108 LOC OEJ 0619 C30804 061C 37 061D 3F 061E C9 061F 0622 0624 0625 CD9005 E67F 4F C9 SEQ 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 SDK85 PAGE 37 SOURCE STATEMENT JMP GETCM TRY AGAIN FOR ANOTHER COMMAND , ,.
ISIS-II 8080/8085 MACRO ASSEMBLER, X108 LaC OBJ SEQ 1981 1982 1983 1984 1985 1986 1987 1988 0626 E5 0627 210000 062A 1EOO Ob2C 062F 0630 0633 CD1F06 4F CDF805 CD7907 0636 0639 063A 063B 063C 063D 063E 063F 0642 D24506 51 E5 C1 E1 7B B7 C23207 CA1C06 0645 CD5E07 0648 064B 064E 0650 0651 0652 0653 0654 0656 0657 0658 D21106 CDBB05 1EFF 29 29 29 29 0600 4F 09 C32C06 SDK85 PAGE 38 SOURCE STATEMENT A VALID DELIMITER IS ENCOUNTERED. THE DELIMITER IS ALSO RETURNED AS AN OUTPUT OF THE FUNCTION.
ISIS-II 8080/8085 MACRO ASSEMBLER, x108 LOC 065B 065D 065E 0660 0661 OBJ 2E03 79 E603 C8 67 0662 CD2606 0665 0668 0669 066A 066B 066E 066F' 0611 0674 D21106 C5 2D 25 CA7706 7A FEOD CA1106 C36206 0677 0678 067A 067D 0680 0681 0682 7A FEOD C21106 01FFFF 7D B7 CA8A06 0685 C5 0686 2D 0687 C28506 068A 068B 068C 068D C1 D1 E1 CDA006 0690 D29506 0693 54 0694 5D 0695 0696 0697 0698 E3 D5 C5 E5 0699 3D 069A F8 069B E1 SEQ 2036 2037 2038 2039 2040 2041 2042 , 2043 GETNM: 2044 2045 2046 2047 2048 2049 GNM
ISIS-II 8080/8085 MACRO ASSEMBLER, Xl08 LOC OEJ 069C E3 069D C39906 06AO 06A 1 06A2 06A3 06A4 06A5 06A8 06A9 06AA 06AB 06AE 06AF 06BO 06B2 06B3 06B4 06B6 06B1 06B8 06B9 06BA 06BB a6BC 06BD ObBE 06BF 06CO C5 41 E5 7A B3 CAC106 23 1C B5 CAC106 El D5 3EFF AA 51 3EFF AB 5F 13 7D 83 7C 8A Dl 18 Cl C9 06C 1 06C2 06C3 06C4 E1 78 Cl C33207 SEQ SDK85 PAGE 40 SOURCE STATEMENT REPLACE TOP RESULT WITH RETURN ADDR XTHL 2091 JMP TRY AGAIN 2092 GNM30 2093 2094 ; , 2095 .
ISIS-II 8080/8085 MACRO ASSEMBLER, X108 LOC OBJ 06C7 06C8 06C9 06CA 06CB 06CC 06CD 06CF 06DO 06D3 06D6 06D7 06D9 06DA 06DD 06EO 06E1 E5 F5 OF OF OF OF E60F 4F CDE206 CDF805 F1 E60F 4F CDE206 CDF805 E1 C9 06E2 06E5 06E7 06E8 06E9 0600 09 4E C9 21b407 SEQ SDK85 PAGE 41 SOURCE STATEMENT 2146 FUNCTION: NMOUT 2147 2148 INPUTS: A - 8 BIT INTEGER OUTPUTS: NONE 2149 CALLS: ECHO,PRVAL 2150 2151 DESTROYS: A,B,C,F/F'S DESCRIPTIUN: NNMOUT CONVERTS THE 8 BIT, UNSIGNED INTEGER IN THE 2152 A REGISTER INTO 2 AS
ISIS-II BOBO/BOB5 MACRO ASSEMBLER, X10B LOC OBJ SEQ 2201 2202 2203 2204 2205 2206 2207 220B 2209 06EA 21C407 06ED 06EE 06EF 06FO 06F3 06F6 4E 79 B7 C2F706 CDEB05 C9 06F7 CDFB05 06FA OE3D 06FC CDFB05 06FF 23 0700 5E 07011620 0703 23 0704 1A 0705 CDC706 070B 7E 0709 B7 070A CA1207 070D 1B 070E 1A 070F CDC706 0712 0714 0717 071B OE20 CDFB05 23 C3ED06 SDKB5 PAGE 42 SOURCE STATEMENT FUNCTION: REGDS INPUTS: NONE OUTPUTS: NONE CALLS: ECHO,NMOUT,ERROR,CROUT DESTROYS: A,B,C,D,E,H,L,F/F'S DESCRIPTION: REGDS
ISIS-II 8080/8085 MACRO ASSEMBLER, X108 LOC OBJ 071B 21C407 071E 110300 0721 0722 0723 0726 0727 072A 072B 072E 072F 0730 0731 7E B7 CA 11 06 B9 CA2E07 19 C32107 23 44 4D C9 0732 37 0733 C9 0734 3AFD20 SEQ 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 SDK85 PAGE 43 SOURCE
ISIS-II 8080/8085 MACRO ASSEMBLER, X108 LOC OBJ SEQ 0737 0738 0739 073B 073E B7 CO OEOO CD3F07 C9 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 073F 0740 0741 0742 0744 0745 0748 0749 074C 074D 074F 0750 0751 D5 E1 79 E60F 4F 3AFD20 B7 C25207 7E E6FO B1 77 C9 0752 0753 0755 0756 0757 0758 0759 075A 075B 075C 075D 7E E60F 47 79 OF OF
ISIS-II 8080/8085 MACRO ASSEMBLER, X108 LOC 075E 075F 0761 0764 0766 0769 076C 076E 0771 0773 0776 0779 077A 077C 077F 0781 0784 0786 0789 OBJ 79 FE30 FA1C06 FE39 FA3207 CA3207 FE41 FA1C06 FE47 F21C06 C33207 79 FE2C CA3207 FEOD CA3207 FE20 CA3207 C31C06 SEQ 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 241
ISIS-II 8080/8085 MACRO ASSEMBLER, X108 LOC 078C 078D 078E 0792 0796 079A 079E OBJ OD OA 53444B2D 38352020 20564552 20312E32 OD SDK85 PAGE 46 SOURCE STATEMENT SE~ 2421 2422 SGNON: 2423 DB ; SIGNON MESSAGE CR,LF,'SDK-85 VER 1.2',CR,LF EQU $-SGNON LENGTH OF SIGNON MESSAGE DW DW DW DW DW DW DW o TABLE OF ADDRESSES OF COMMAND ROUTINES DUMMY 079F 01'.
ASSEMBLER, X108 ~jACRO LOC OBJ SEQ 07C9 07CA 07CB 07CC 07CD 07CE 07CF 07DO 07D1 07D2 07D3 07D4 07D5 07D6 07D7 07D8 07D9 07DA 07DE 07DC 07DD 07DE 07DF 07EO 07£1 07£2 07£3 07E4 07E5 07E6 07E7 07E8 07E9 00 43 Ef 00 44 EA 00 45 £9 00 46 ED 00 49 F1 00 48 DB 2469 0 DE 2470 'C' DB CSAV AND OFFH 2471 DB a 2472 DB 'D' 2473 DB DSAV AND OFFH 2474 DB 0 2475 DB 2476 'E' DB ESAV AND OFFH 2477 DB 2478 0 'F' , DE 2479 2480 DB FSAV AND OFFH 2481 DB 0 2482 DB 'I' DB ISAV AND CFFH 2483 0 2484 DB DE 2485 'H' 2486 DE HS
ISIS-II 80BO/80B5 MACRO ASSE~ELER, Xl0B SDI: PAGE B5 4P LOC OEJ SEQ 20C£ 20CF 20DO 20Dl 20D2 20D3 2'OD4 20D5 20D6 00 00 00 00 2520 RST65: CE 0,0,0 JUNP TO RST 6.5 2521 RSET7: DB 0,0, JUMP TO RST 7 ROUTINE 2522 lJSINT: DE 0,0,0 C' (HAR~WIRED USER INTERRUPT) 00 00 00 00 00 2523 2524 2525 ------r ~0E.
USER SYHBOLS ISIS-II 8080/8085 MACRO ASSEMBLER, x108 ADFLD BSAV CLDST CNTRL CSAV DCB 10 DOT ECH10 ESAV FIVE GETCH GNH10 GTC03 GTHEX IBUFF INSDG LETRC LETRP MCM05 NMTBL OUT05 PERIO RDKBD RETF RGPTB RSR05 SCM10 SKLN STH05 STP23 TEMP TRUE USCSR XCM05 XCM30 A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A 0000 20EC 01F1 1900 20EB 0449 0001 060F 20E9 0005 061F 0677 0414 022B 20FE 029F OOOC 0012 04D8 03B9 02C2 0010 02E7 02F7 03AC 032D 0500 0012 0752 0145 20FD + 0000 A 20FF A 0527 A 0587 ADISP CAD
PAGE ISIS-II ASSEMBLER SYMBOL CROSS REFERENCE, xl08 ADFLD ADISP ASAV BLANK BLNKS BRCHR BRTAB BSAV CADR CI CI05 Cll0 CLDBK CLDIS CLDST CLEAR CMD10 CMD15 CMDAD CMDTB CMMND CNTRL CNVBN CO C005 COMMA CR CROUT CSAV CSNIT CSR CTAB CURAD CURDT DCM05 DCM10 DCM15 DCMD DDISP DELAY DIGTB DISPC DOT DSAV DSPLY DSPTB DTFLD DTMSK ECH05 ECH10 ECHO EIGHT EMPTY 10541 106/1 1228 11641/ 1208 1214 530 1324# 1325# 184 1438 1754# 175711 176511 16911 331 168 310 275# 277 284 274 26411 1081/ 1556 1390 1821# 110# 1326# 1471 12
ISIS-II ASSEMBLER SYMBOL CROSS REFERENCE, x108 ERMSG ERR ERROR ESAV ESC EXAM EXM05 EXM10 EXMSG FALSE FIVE FRET FSAV Gl0 GCM05 CCM10 GCMD GETCH GETCM GETHX GETNM GHX05 GHX10 GNM05 GNM10 GNM15 GNM20 GNM25 GNM30 GO GOCMD GTC03 GTC05 GTC10 GTH05 GTH10 GTH20 GTH25 GTHEX HCHAR HIL05 HILO HSAV HXDSP IBTIM IBUFF ICM05 ICM10 ICM20 ICM25 ICMD ININT INSDG INVRT ISAV KBNIT KMODE 611 282 1436 1232 1327/1 3081 316# 326 369 156# 1134# 19421 180 353 1509 117 2f1 315 1512 2477 1894 1116 338 314 1176 2008 442 364# 1518#
ISIS-II ASSEMBLER SYMBOL CROSS REFERENCE, X108 LETRA LETRB LETRC LETRD LETRE LETRF LETRH LETRI LETRL LETRP LETRR LETRS LF LOWER LSAV LSGNON MCM05 MCMD MNSTK MSGL NCMDS NEWLN NMOUT NMTBL NODOT NUMC NUMRG NXTRG OBTIM OBUFF OUT05 OUT10 OUT15 OUT20 OUTPT PCHSV PCLSV PERIO PRMPT PRTYO PRVAL PSAV RAMST RDK10 RDKBD READ REG05 REG10 REG15 REGDS RES10 RETF RETT RGA05 RGA10 RGADR RGLOC 114U 1144# 114611 11481 11501/ 115211 11541 116011 115611 1158# 11621/ 1135# 13301/ 133111 1207 1208 1209 1210 1172 1212 1214 12
ISIS-II ASSEMBLER SYMBOL CROSS REFERENCE, xl08 RGNAM RGPTB RGPTR RGTBL RMUSE RSET5 RSET6 RSET7 RSR05 RSR10 RST65 RSTOR RTAB RTABS SCM05 317 1047 806 939 98# 197 207 217 1001 1003 212 371 2213 1723 SCM1C .,t:."In SCM15 SCMD SDK85 SETRG SGNAD SGNDT SGNON SKLN SPHSV SPLSV SRET SSAV SSTEP SSTRT STH05 STHFO STHLF STOPB STP20 STP21 STP22 STP23 STP25 STRT SUB05 SUB10 SUB15 SUBST TEMP TERM TIM2 TIMER TIMHI TIMLO TMODE TRUE TSTRT UBRLN UNMSK UPDAD UPDDT 1639 162611 iva::::.
ISIS-II ASSEMBLER SYMBOL CROSS REFERENCE, xl08 UPPER USCSR USINT USRBR VALDG VALDL WAI T \'lAITS XCM05 XCM10 XCM15 XCM18 XCM20 XCM25 XCM27 XCM30 XCMD ZERO 1345/1 424 221 137# 1553 1550 1353# 80# 1663 1540 43'2 570 252211 2516 2010 1998 1761 139 237511 240211 1349 166611 16751/ 1726 1678 1684 1702 1717 1722# 1711 1657# 1128# 168111 1687'# 1706# 172011 1732 1727# 2428 1175 CROSS REFERENCE COMPLETE 2561/1 PAGE 5
APPENDIX B DIAGRAMS
............................ Ifo _. II ...................................
D c D J2" ~-\.C) D V,I =--===tU e-""", BF>Q; c .J1 !3 D0 ----eoc ElCl2 e'D~ ~:gt ==----==.
INTEL CORPORATION, 3065 Bowers Avenue, Santa Clara, CA 95051 • (408) 246-7501 Printed in U.S.