• Keine Ergebnisse gefunden

-- Z-System TcxAs Z80/HD64180

N/A
N/A
Protected

Academic year: 2022

Aktie "-- Z-System TcxAs Z80/HD64180"

Copied!
18
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)ZIM/ZDMZ/ZDMH. Z80/HD64180. --. Z-System TcxAs. DEBUGGER. USER'S. and. MONITOR. GUIDE. by Robert. Doolittle. No part of ZDM/ZDMZ/ZDMH is Copyright 1985 RD SOFTWARE. this document may be reproduced in any way or by any means without Address permission of publisher. requests to written 101 prior Echelon, First Street, Los Altos, CA 94022. Inc.,.

(2) ,. TABLE. OF. CONTENTS. Paqe. Section. ................................ ii .................................. (Display) .................................. DI (Disable Interrupt).................. ........ Author's Note. I. II.. III.. 1. INTRODUCTION ZDM. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21.. The The The The The The The The The The The The The The The The The The The The The. Comnand. D. EI (Enable. Interrupt). Command Command. Command (Fill)Comnand f (Go). ......... ..................... ....................... ................. I (Input) .................... (List) ..................... QI Input) ..................... ............. ............ ..................... ...................... .................... .................. .................. (Alternate ........ G. H. L M. QO. R S. T U. X. &. B V P. j. INSTALLATION. Cormand Corrunand Comnand (Move) Cormand Command (Query (Query Output) Cormand (Read) Corrunand (Set) Corrunand (Trace) Comnand Command (Untrace) (Examine) Command Conunand Register) (Block Search) Command Command Command (jump) Command. (Hex. Math). (Verify) (Print). .............. 3 3 3 3 3 4 4 4 5 5 5 5 6 6 7 7 7 8 8 9 9 9. ................... .................... ..................... ...................... II ......................... ......................... ............. 19. PROCEDURES. 13. APPENDIX. A. PATCHING. APPENDIX. B. ZDM MNEMONICS. APPENDIX. C. HITACHI. APP~IX. D. ZDM/ZDMZ/Z~. HD64180. 15. 17. MNEMONICS. comAND. _i—. SUFMARY. ..........

(3) Author's. Note. have been thorough1y tested to be correct. If you findWe something not to your liking let us know. welcome your comments, criticisms or questyou experience ions, Please call or write any problems. These programs and are believed. if. Robert Doolittle Echelon Z-Team Member Telephone 213/454-8270 1290 Monument Street Pacific Palisades, CA 90272. -ii-.

(4) ZDM. I.. User's. Guide. INTRODUCTION. ZDM, ZDMZ and ZDMH are Z80 and HD64180 machine langua?e debuggers ) operating and monitors designed to run under Z-System (and CP/M Z80 8080, debug and They system environment. recognize or HD64180 machines. code although they only run on Z80 and HD64180 command The types and command structure are nearly identical to those of the DDT module provided by Digital Research as part of The major difference CP/M operating system. is that their Z80/HD64180 code can be debugged and ten new commands with supports all the DDT variations have been added. ZDM/ZDMZ/ZDMH commands A. Also, only one except the in-line assembly command implemented. breakpoint is ZDMZ/ZDMH support Zilog Z80 mnemonics whenever instruction ZDMFJ supports the mnemonics Additionally, are displayed. ZDM uses HD64180. enhanced Hitachi instruction set of the TDL extended 8080 mnemonics Intel similar toPlease (Xitan) which 8080 mnemonics. refer to the retains all standard Refer Appendices for a definition of the mnemonics used by ZDM. also to Section Procedures before attempting to Installation run ZDPI, ZDMZ or ZDMH. Throughout the remainder of this manual all references to ZDM apply equally to ZDMZ/ZDMH except where otherwise explicitly noted. ZDM is invoked by typing one of the following three forms at the console:. III. ZDM ZDP1. filename. ZDM. filename.filetype. ZDM where "filenarüe" is the name of the file to be loaded. will then sign-on and relocate itself to overlay the CCP and reside The jump to zrdos at location 5 directly below ZRDOS (or BIX)S). address is altered to the base location of zdm ZDP1 which, in turn, jump Note that contains a provides an to zrdos or BDOS. additional pageZ of available transient memory compared to DDT for a given size Like DDT, transient programs or CP/M system. loaded for debugging can overwrite the disassembler module. In command and L the disabled the this X case is instruction field for the and T commands is replaced by the corresponding hexadecimal bytes of the instruction. ZDM has an additional feature to prevent overlaying the ZDM nucleus itself. this is about to happen, ZDM aborts the load and print an "OUT OF MEMORY" message. then returns to command level so that those portions which were loaded may be examined.. If. *CP/M. is registered trademark of Echelon.. trademark. It. of Digital Research.. Z-System. Page. is. 1.

(5) ZDM. User's. Guide. The second and third forms of the console command line result in the named file being loaded after ZDM is entered. After the sign-on message and program loading, specified in the command line, ZDM will respond with the prompt character Each command "-" and wait for input commands. consists of either one or two characters, as defined in Section II, which determines the command type. These characters may also be followed by No delimiter should be used between the additional parameters. command type characters and the except as first parameter command. described Subsequent parameters for the are delimited by a comma the command In all cases, or a single space. expects a final parameter and this parameter is omitted, ZDM will is zero. assume All command lines are terminated by a carriage return. All ZDM keyboard input to ZDM and output from ZDM is in hexadecimal. A lower either single upper case letters. will accept or character (?) is printed an error occurs. To exit ZDM and return to ZCPR3 or CP/M command level either a Control-C or a may be executed. (jump to loation. if. G. if. it. if. O). Page. 2. GO.

(6) ZDM. II. Details of each. l. operator formats.. ZDM. corrunand. Guide. comANDs. are given. in this Section.. (Display) Command. The view the contents of memory to The forms are:. The. User's. D. D command permits the in hexadecimal and ASCII. D Ds. Ds,f In the first case, memory is displayed from the current display address (initially 1OOH) and continues for the number of lines specified at initialization. Subsequent display addresses are initialized to the value of the program counter following an X, T, U, or command. The second form of the command is similar to the first address is first set to address s. The except that the display form displays from address s through f. In all cases a third subsequent form issue of the first will start with the displaya address address following the last displayed, resulting in typeouts Long continuing display. can be aborted with the ruboutG. D. key.. 2. the. The. single. DI (Disable form:. Interrupt). Command.. This. command. takes. DI. default condition, whenever the target program is entered via command, is that interrupts are enabled. T, or the (Interwhen always disabled returning to ZDM). The DI command rupts are overrides this default condition. The DI command will remain in effect until a subsequent EI is issued. The-. G,. U. Command. 3. The EI (Enable Interrupt) tores the default interrupt condition. See takes the single form: cription.. This command rescommand. the. des-. DI. It. EI 4.. The. f (Fill). Command.. The. F command. takes. the form:. Fs,f,c where s is the starting address, hexadecimal byte constant. to be zero. This command. a. If. fills. f is. the final address, and c is is omitted then is assumed from s to f the block of memory. c. it. Page. 3.

(7) ZDM. User's. Guide. inclusive. message (?) 5.. the. G. command. with the constant c.. will. occur.. If f. is less than. The. G (Go) Commands. Program execution command with one optional breakpoint takes four possible forms:. s. an. error. is started using. address.. The. G. G Gs. Gs,b g,b form starts execution of the target program at the value the of program counter and in the current machine current state with no breakpoints set. The only way for ZDM to regain control is through a RST 7 execution. The second form is similar except that the program counter is to the set to s form before execution begins. Third is the same as the second breakpoint address b. except that a Program execution is set at ZDM. stopped and The instruction at. is control is returned to address b is not executed when the breakpoint is encountered. The fourth form execution from the current program counter starts and machine state and sets breakpoint at address b. Upon entering a breakpoint, ZDM types *d where d is the stop address. The machine state can be examined at this point using the X or &X command.. first. The. first. 6.. The. first. H. (Hex. Math). Command.. The. H. command. takes. the form:. Ha,b where sum. the. a. and. a"band. form:. from constants are hexadecimal a-b the difference are displayed b. 1. to 4 digits. in hexadecimal. The. in. a+b a-b The I command allows the I (Input) Command. a name into the Z-System default file operator to insert file The default FCB 5CH. block control can be used by the program at Command under test as had been passed by the Console This cornmand must also be used prior to the R command Processor. HEX when reading additional or COM files. The forms of the 7.. The. if it. T. command. are:. Ifilename Ifilename.filetype. If is a. itstarting Page. 4. the COM. at. filetype. file 1OOH.. is anything except HEX then ZDM will assume command will read into memory the (See the R command for further details).. and. R. it.

(8) ZDM. 8. assembly. Guide. User's. list are:. The L (List) Command. The L command is used to The three forms of the command language mnemonics. L. Ls. Ls,f the number of lines specified in the at the current address of the program initialization The second form of lines but counter. lists theformsame number the The third address s the address starts at s. starts at and continues for f lines. All three forms can be continued with L command Also, like the a subsequent similar to the D command. command, the starting address not specified is always following an X, T, initialized to the program becounter or command. aborted with the rubout key. Long typeouts can The. form lists first and starting. if. D. of. 9. The FI memory from. (Move). is:. command. Command.. one location. The. M. U. command. to another.. will. move. The form. a. G. block. of the. 2'1. Ms,f,d where and d (?). s is the start address of the is the destination address. will occur.. move,. If f. the final address than s, an error less is. f is. 10. The QI (Query Input) Command. The QI command allows the operator to read an input port and display the value at the port address. The form of this command is: Qla The value where a is a one byte port address in hexadecimal. is printed immediately following execution of this command. Note that if a is omitted, is assumed to be zero.. it. 11. The QO(QueryOutput) Command. TheQOcommandallows the operator to output a specified byte to a specified portThe form address. of this command is: QOa,b. where. either. a a. is the port address or b is omitted,. it. and. is the byte to be output. is assumed to be zero. b. Page. If. 5.

(9) ZDM. User's 12.. Guide The. junction with into memory.. (Read). Command. The R command the I to read COM and HEX There are two forms of this command: R. command. is used in confiles from disk. R Rb. where b is an optional offset address which is added to each b program or data address as is loaded. is omitted then Note that is assumed to be zero. the name in the FCB from a previous I command is not a HEX type then ZDM assumes load the parameter b is at 1OOH or 1OOH+b is COM and cannot be opened or an error occurs in included. the ZDM responds with the reading, error indicator (?). Otherwise at completion of the load a message is issued:. it. will If. If. if. it. if. file. NEXT. it it. file. PC. nnnn pppp where nnnn is the next address following the program just loaded address of the program just loaded. and pppp is the For HEX HEX taken from record the the and of last pppp is files be zero unless an END statement followed by the start has been included in the source address program prior to assembly.. first. file. will. 13.. The. locations to command is:. S. be. (Set) Command. The examined and optionally. S. command. altered.. allows memory forní of the. The. Ss. is the hexadecimal for examination or starting address ZDM alteration of memory. print the address followed by the will A carriage return advance to byte stored at that address. will and address the the the next address, next next byt.e. displaying typed by a a new byte value carriage return, this is followed If be stored at that address and ZDM will advance new value will To terminate the command a automatically to the next address. The command period is typed rather than a byte value. will also value entered. hexadecimal is terminate if an invalid where. Page. s. 6.

(10) ZDM. 14.. step. steps.. The. T. Command. The tracing of program of this command are:. (Trace). instruction The forms. Guide. User's. permits single execution for 1 to 65535 command. T. T Tn. step number. The first form assumes an implied n equal one. The CPU state is displayed and the next The termination address is displayed program step is executed. The as *hhhh where hhhh is the next address to be executed. format for the CPU state display is otherwise identical to that of the X command. Program tracing is discontinued at the interface to Z-System and resumes again after return from Z-System to the target Long tracing with the Tn command can be stopped with program. the rubout key. ZDM will continue tracing from this break another T or Tn command is issued. where. n. is an optional. if. 15. The U (Untrace) Command. the command except that the CPU forms of the command are: T. is identical to state is not displayed. The. The. U. command. U. Un command. All conditions of the T command apply to the CPU state is displayed following the execution of. The. U. command.. The. X. 16. The command. current. CPU. X. (Examine). Comrnand.. (See. also the. permits selective display and The forms state at any time. are:. &. a. U. last or Un. Command).. alteration of the. X. Xr where. r is any of the C Z M E. I. A B D H S P X Y. Z80. registers or flags.. Carry Flag Zero Flag Minus Flag. Parity Flag Interdigit Carry. Even. Accumulator BC DE HL. register pair register pair register pair. Stack Pointer Program Counter X-index register Y-index register. (OIl) (OIl) (OIl) (OIl) (OIl). (O-FF) (O-FFFF) (O-FFFF) (O-FFFF) (O-FFFF) (O-FFFF) (O-FFFF) (O-FFFF). Page. 7.

(11) ZDM. User's. Guide. first. In the. format. case. CfzfMfEflf X=dddd. where double. f is. A=bb Y=dddd. the. register. CPU. B=dddd. D=dddd. state is displayed in the. H=dddd. P=dddd. S=dddd. instruction. O. or 1 flag value, bb is a byte value and dddd is a byte corresponding to a register pair. The instruction contains the disassembled instruction at the location. field. a. addressed The. by the program counter. second form of the X command permits display and optional alteration of register or flag values specified by r. a carriage return is typed following an Xr command then the. If. command ZDM accepts. Otherwise is terminated with no changes taking place. changes. hexadecimal a input for register or flag number in the proper range is typed then that flagIf or register is correspondingly altered. 17. The & (Alternate takes one of three forms:. Register) Command.. The. &. command. &. &X &Xr. form unconditionally exchanges all first Z80 the flags to alternate register set.. The. CPU. registers. and. second and third forms of and Xr commands except that. this command are identical to the the operations take place on the alternate register or flag set. Upon termination of these CPU state execution is latter twoTheforms the associated priortheto &Xcommand command replaces the restored. display with X and Y registers by the vector interrupt V. value This register command be &XV also value by may an register altered followed by be the byte value to stored in the vector interrupt register. The A, B, D and registers and register pairs are labeled by prime (') symbols whenever the alternate set is being displayed Note that primes are not used for the flag register or altered. except during alteration. The. X. H. The B (Block Search) Command. The B command the to search memory for all occurrences of a byte A second forní of this Strings are limited to ten bytes. BT B. than by rather This second form is initiated an ASCII or text string. The form of this command is: 18. user. permits string.. will. command. accept-. Bs,f or BTs,f where s is the start address and f is the final address of the Following the carriage return you memory block to be searched. prompted The B form expects be the to enter the string. will The delimiter HEX bytes. may be a space or a series of string as The input The BT form expects a singleASCII string. a comma.. Page. 8.

(12) ZDM. User's. Guide. string is terminated by a carriage return following the last entry. The start address of each occurrence of the string from s to f will be displayed. TheVcommand The form of. 19. The V (Verify) Command. two blocks of memory are identical.. verify if willcommand is:. this. Vs,f,b is the start address and b is the start address. where. s. block. and. match fails, the address the corresponding address. the final fofis the other. address. block.. of one If the. followedby thebyte at i.sprintedout the second block. in. The P command 20. The P (Print) Command. is a toggle which The effect is does not expect any arguments. to send all output LIST device as well as to the console. is turned off to the P command. by a subsequent Whenever the P toggle is on, a 'P' will be displayed as part of the X or T display.. It. 21. The does not expect. (jump) j any j affects only arguments. has been executed Itthen the If j and unconditional CALLS, conditional. commands.. only. Command.. The. command. is. a. toggle which. subsequent. T. or. U. display will RETURNS,. T command JUMPS, The Tn JUMPS.. (IX or IY) and relative form of the used where the n represents is usually actual number of be command As traced. usual instructions to this can be aborted key. Whenever with the rubout the Jtoggle is on, a 'J' will be X T displayed the as part of display. or. RESTARTS, T command. PCHL. Page. 9.

(13) ZIM. III.. INSTALLATION. User's. Guide. PROCEDURES. and keep the Using not write on the master. original master as a "ZDM". "What ZDM question the copy type is with the will respond A carriage return in response to your terminal width (in hex)". this question will default to a width of 80(50H). Otherwise, type in the character width of your terminal in hex followed by a carriage return. Next, the number of lines desired for the D and L command displays are requested. A carriage return at this (This is the recommended size point defaults to 21(15H) lines. 24 terminals.) Otherwise, type in the number of lines for line hex, desired, followed by a carriage return. in ZDM ask the question "Is this correct? (Y or Finally, Do not N)". respond with "Y" at this time. Following an "N" ZDM prompt "-", and character the response sign-on, will print await a command. You should now test the D and L commands to determine these displays are sized properly for your terminal. not, return to Z-System command level by typing GO or ControlC and repeat the above procedure. When you are satisfied that the displays are properly sized, then respond with "Y" when asked "Is this correct? (Y or N)". After a "Y" response ZDM will automatically create your custom installed you are be name zdi.com. using ZDPl then the installed you will name is either are using ZDMZ or ZDP1H then the installed ZDIZ.COM You may rename these to whatever names or ZDIH.COM. you The. user should. first back-up.. make. a. copy. of. ZDM. Do. will. If. if. file. file. If If file. desire.. ZDM is now properly configured for your terminal. Subsequent invocations of zdp1 will proceed directly to the signori message. at some later time, you wish to change these display parameters you will have to start once again with a copy of the master uninstalled file.. If,. Page. 11.

(14) ZDM. APPENDIX. User's. Guide. A. Some users have experienced with ZDM/ZDMZ when difficulties (ZDMH has interrupts enabled used with interrupt driven systems. You can disable interrupts with the as default condition. command when entering the target program but they will be DI The following patches enabled again when ZDMH regains control.) when ZDM/ZDMZ recommended such running systems. on are Using ZDMH or other debugger, load an image of ZDM/ZDMZ into memory starting at lOOh and change the following bytes (addresses apply to version 3.2):. still. ZDM ADDRESS. ZDMZ ADDRESS. FROM. TO. OC61H OC7AH ODC1H. OC31H OC4AH OD91H. OF3H OF3H OF3H. OOH OOH OOH. Return to Z-System or CP/M without disturbing the memory image and save 22 (or 16h) pages with the SAVE command. Another frequent user request has been to change the ZDM RESTART address, curently RST 7 at 38h, to a different RESTART. The following patches will accomodate this change. (RST O cannot be used under Z operating system or under CP/M.) ZDM ADDRESS. ZDMZ ADDRESS. ZDMH ADDRESS. FROM. OD9DH ODA5H 1007H. OD6DH OD75H OFD7H. ODEDH ODF5H 1057H. 38H 39H OFFH. TO new new new. RESTART RESTART RESTART. address address opcode. Page. +. l. 13.

(15) ZDM. APPENDIX. User's. Guide. B. module of ZDM uses a mnemonic set which is the Technical Design Laboratories (TDL) mnemonics. similar to 8080 The Z80 peculiar mnemonics are preserved. All Intel instructions differ from the Zilog mnemonics as shown in the The ZDM mnemonic set is nearly identical accompanying table. to that released by Digital Research as Z80.LIB to be used with The following conventions their CP/M Macro Assembler "MAC". are used in the table. The. disassembler. r - any register or memory register pair or stack pointer - any rr 8 immediate data (O to 255) nn - 8 bit signed d (-128 to 127) displacement - bit nnnn - 16 bit address or imnediate data (O to 65535) b number (O to 7, 7 is most significant) bit 16 addr bit address within PC+127 through PC-128 In cases involving a displacement, d, this parameter is always last one in operand field. ZDM LDX LDY STX STY MVIX MVIY LDAI LDAR STAI STAR. ZIIDG. r,d r,d r,d r,d. nn,d nn,d. LXIX nnnn LXIY nnnn LBCD nnnn LDED nnnn LSPD nnnn LIXD nnnn LIYD nnnn SBCD nnnn SDEF nnnn SSPD nnnn SIXD nnnn SIYD nnnn SPIX SPIY PUSHIX PUSHIY POPIX POPIY. LD LD LD LD LD LD LD LD LD LD LD LD LD LD LD LD LD LD LD LD LD LD LD LD. r,(lX+d) r,(IY+d) (IX+d),r. (1Y+d),r (IX>-d),nn (1Y+d),nn. A,I. A,R. I,A. R,A IX,nnnn 1Y,nnnn BC,(nnnn) DE,(nnnn) SP,(nnnn) IX,(nnnn) 1Y,(nnnn) (nnnn),BC (nnnn),DE (nnnn),SP (nnnn),1X (nnnn),IY SP,IX SP,IY. PL"SH. PUSH POP POP. IX". IY IX IY. ZDM. ZIIÁJG. LDIR LDD LDDR CCI CCIR CCD CCDR ADDX ADDY ADCX ADCY SUBX SUBY SBBX SBBY ANAX ANAY XRAX XRAY ORAX ORAY CMPX. LDIR LDD LDDR CPI CPIR CPD CPDR ADD (IX+d) ADD (1Y+d) ADC (Ix+d) ADC (1Y"d) SUB (IX"d) SUB (1Y"d) SBC (IX"d) SBC (1Y+d) AND (IX"d) AND (1Y+d) XOR (IX""d) XOR (1Y+d) OR (IX"d) OR (1Y+d) CP (Ix+d) CP (1Y+d) INC (IX"d) INC (1Y+d) DEC (IX"d) DEC UY+d) NEG. CP1PY. INRX INRY DCRX DCRY NEG. d d d d d d d d d d d d d d d d d d d d. Page. 15.

(16) ZDM. User's. Guide. ZDM. ZILÁJG. ZDM. ZIIÁJG. EXAF EXX. EX AF,AF' EXX EX (SP),IX EX (SP),IY. IMO IM1 IM2 DADC DSBC OUTI OUTIR IND INDR OUTD OUTDR RLCR RLCX d RLCY d. IM. XTIX XTIY LDI DADX DADY. rr rr INXIX. INXIY DCXIX DCXIY. BIT SET RES. b,r b,r b,r. INI INIR. BIT. b,r b,r b,r. IX IY IX IY. r. b,(1x+d) b,(IY+d) SET b,(1x+d) set b,(IY+d). bit BIT. r. b,(lX+d). RES RES b,(IY+d) JR addr JR C,addr JR NC,addr JR Z,addr JR NZ,addr. DJNZ,addr JP (IX) JP (IY). r,(C) OUT (C),r IN. r. INI INIR. 16. * * *. * * *. * * *. * * *. * * *. * * *. * * *. * * *. * * *. * * *. * * *. r. r ralr RALX d. RETI RETN. * * *. Page. IX,rr 1Y,rr. SET RES. BITX b,d BITY b,d SETX b,d SETY b,d RESX b,d RESY b,d JR addr JRC addr JRNC addr JRZ addr JRNZ addr DJNZ addr PCIX PCIY RETI RETN INP OUTP. ADD ADD INC INC DEC DEC. HL,rr HL,rr. rr rr. LDI. * * *. * * *. * * *. * * *. * * *. RALY RRCR RRCX RRCY RARR RARX RARY SLAR SLAX SLAY SRAR SRAX SRAY SRLR SRLX SRLY RLD RRD. d. * * *. * * *. * * *. O. IM 1 IM 2 ADC SBC OUTI OTIR IND INDR OUTD OTDR RLC RLC (Ix+d) RLC (1Y+d) RL RL (IX+d) RL (1Y+d) RRC RRC (IX+d) RRC (1Y+d) RR RR (IX+d) RR (1Y+d) SLA SLA (IX+d) SLA (1Y+d) SRA SRA (IX+d) SRA (1Y+d) SRI. SRL (IX+d) SRL (1Y+d) RLD RRD. r. r. r. d d. r. r. d d. r. r. d d. r. r. d d. r. r. d d. * * *. * * *. * * *. * * *. * * *. * * *. * * *.

(17) ZDM. APPENDIX. HITACHI. object Code ED3805 EDO005 ED0805 ED1005 ED1805 ED2005 ED2805. Source Statement IND IND IND IND IND IND IND. A,(nn) B,(nn) C,(nn) D,(nn) E,(nn) H,(nn) L,(nn). HD64180. User's. Guide. C. MNEMDNICS. Operation. register with input from port (nn). Load. **************************************************************** MLT BC Unsigned multiplication of MLT DE each half of the specified MLT HL register pair with the 16-bit MLT SP result going to the specified register pair. **************************************************************** ED8B OTDM Load output port (C) with location (HL), decrement HL, B, and C. **************************************************************** ED9B OTIMR Load output port (C) with HL, location (HI)), decrement B=O. Repeat until B, and C. **************************************************************** ED83 OTIM Load output port (C) with location (HL), increment HL and C. Decrement B. **************************************************************** ED93 OTIMR Load output port (C) with location (HL), increment HL and. ED4C ED5C ED6C ED7C. C.. until. Decrement B.. B=O.. Repeat. **************************************************************** OUTO Load output port (nn) from (nn),A OUTO (nn),B register. OUTO. ED3905 EDOI05 ED0905 ED1105 ED1905 ED2105 ED2905. OUTO OUTO OUTO OUTO. (nn),C (nn),D (nn),E (nn),H (nn),L. **************************************************************** SLP Enter sleep mode. **************************************************************** ED3C TST A AND with Non-destructive ED04 TST B accumulator and specified EDOC ED76. ED14 ED1C ED24 ED2C ED6405 ED34. TST TST TST TST TST TST TST. C. operand.. D E H. L nn (FIL). ****************************************************************. ED7405. TSTIO. nn. Non-destructive and the contents. of (nn) of port (C).. AND. Page. 17.

(18) ZDM. APPENDIX. ZDM/ZDMZ/ZDMH. Functíon Display Disable Enable. Form. D1s,f] Interrupt Interrupt. DI EI. Fs,f,c. Go. G1s,b]. Hex. Math. Ha,b. Input. Ifilename. List. L1s,f]. Move. Ms,f,d. Query. Input. Qla. Query Output. QOa,b. Read. Rlbl. Set Trace. Ss. T[n]. Untrace. U[n]. Examine. Alternate Register. XIrl 8JXIlrl BlT1s,f. Verify. Vs,f,b. Print. P. Block. Jump. Search. D. COMMAND SUPMARY. Definition display screen of. in hex. memory. and ASCII. disable interupts, normal default enable interupts, default eritering from G, T, and range of memory with declared U. Fill. J. Guide. User's. if. fill. byte value execute program with optional breakpoint obtain sum and difference of two hex numbers set up file control block to receive name to screen assembly list language mnemonics move data from one area of memory to another display input byte from indicated Fc)rt a output byte b to indicated port a read in file set up with I command,. file. optional offset examine and optionally alter sinple step program execution, to 65535 steps similar to T, but CPU state. memory. not displayed examine CPU register values examine Z80 alternate register find ASCII or hex string in declared memory range two blocks of memory verify. if. identical. up. values are. send all screen output also to printer display only branch statements: calls, jumps, returns, etc.. Legend: items in [ J's are optional; s=start address; f=final address; c=hex byte value; a=hex value or port address; b=hex value or offset, breakpoint block address; d=destination or start b address; n=step number; r=register letter, a for accumulator, bc s pair, for sp, etc. for. Page. 19.

(19)

Referenzen

ÄHNLICHE DOKUMENTE

Der COND-Parameter ermöglicht die Angabe einer oder mehrerer Bedingun- gen, bei deren Auftreten der aktuelle Step unterdrückt oder ausgeführt wer- den soll. Ist jedoch

In this paper peer-to-peer system is developed as part of Mobile Host web ser- vice provisioning system and file sharing is distributed as BitTorrent protocol declares..

If the preconditions of an elementary action scheduled to be executed are not met by the current 3D scene – e.g., the DHM is not near an object to be PICKed – one or more

[r]

Those entitled to international subsidiary protection fundamentally have a claim to BAföG People with this residence permit according to Art.. 3, Residence Act do not have access

Draw a line for each item in the right box or write the number in

PERFORMANCE MEASURE 12 - Percent of adolescents with and without special health care needs, ages 12 through 17, who received services necessary to make transitions to adult

Evaluating the linear parameters, the mean daily movement and the total recorded movement are not appropriate to use in insect studies, because they are very sensitive to the number