D-Bug4744 Monitor User Manual© 2001, 2002 Patrick O'Malley
3.3 Interrupt VectorsIn order to allow users to change the interrupt vectors, pseudo-vectors havebeen placed at the beginning of internal RAM (0x0800)
Internally, when a breakpoint is reached, the monitor removes that SWI andreplaces it with the code that was originally there. It then puts another SW
4. Downloading CodeThe load command is used to get code into RAM. When executed, it waits for anS19 file to be received through the SCI port.The downl
5. Debugging Tips5.1 Use Breakpoints WiselyBreakpoints can either be extremely helpful or unnecessary to the debuggingeffort. In general, the easiest
6. Utility SubroutinesThe following D-Bug4744 subroutines can be called by user code. Function print_stringAddress ef27Inputs Y : pointer to null-term
Function get_addressAddress e7e7Inputs NoneOutputs X : AddressModifies NoneDescription Waits for a 4-character hex address (ex: 43ff) from the SCI por
Function get_lineAddress e884Inputs X : Pointer to character buffer (where line will be stored)B : Total number of bytes to return (limits line length
6.1 Example Code for Calling D-Bug4744 SubroutinesThe following snippet shows how to call built-in D-Bug4744 subroutines fromwithin user code.That cod
A. About D-Bug4744 and the Motorola 68HC12B32A.1 Origin of D-Bug4744This section has been removed. See the comments in the D-Bug 4744 sourcecode for m
B. Contact InfoIf you want to report bugs in this code, please send email to:[email protected] non-technical questions (like more information on
Licensing AgreementThe information contained in this document is © 2001, 2002 Patrick O'Malley. Allrights to this document are reserved by the au
Table of Contents1. General Instructions 31.1 Entering Numbers 31.2 Register Names 42. Commands 43. D-Bug4744 Internals 73.1 User and Monitor Stacks 7
1. General Instructions (good for all monitor commands)1.1 Entering NumbersD-Bug4744 only understands numbers entered in hex. For example, to enter th
1.2 Register NamesThe register view (rv) and register modify (rm) functions use register names fordisplay and to allow the user to edit the internals
2.3 Register View [rv]SyntaxrvDescription Displays the contents of the registers. Note that it does notdisplay the contents of the registers as used b
2.7 S19 Load [load]SyntaxloadDescription Loads an S19 from the SCI port (from the host) to memory. It willnot write to FLASH or EEPROM, only RAM. This
3. D-Bug4744 Internals3.1 User and Monitor StacksD-Bug4744 maintains two stacks. When user code is executed (using the gocommand, for example) the mon
The only modes that the disassembler recognizes are immediate, direct,extended and the IDX and IDX1 indexed modes. The disassembler has theability to
Commentaires sur ces manuels