Download MPSIM User's Guide
Transcript
MPSIM USER’S GUIDE DS30027I - page ii Chapter 3. Tutorial..........................................................................................17 Introduction ....................................................................................17 Highlights .......................................................................................17 Assemble the Code .......................................................................18 Invoke the Simulator ......................................................................18 MPSIM.INI .......................................................................19 Load the Initialization File ..............................................................19 Creating an initialization file ............................................19 Load the Hex File ...........................................................................21 Load the Stimulus File ...................................................................22 Set Up Trace Parameters ..............................................................23 Set Up Breakpoints ........................................................................25 Execute the Hex Code ...................................................................26 Modify the Hex Code .....................................................................27 Exit the MPSIM Session ................................................................28 Chapter 4. Functional Categories of MPSIM Commands ...........................29 Introduction ....................................................................................29 Highlights .......................................................................................29 Loading and Saving .......................................................................30 Inspecting And Modifying ...............................................................30 Program Memory ............................................................30 Registers .........................................................................32 Display Functions ............................................................33 Patch Table .....................................................................34 Clearing Memory and Registers ......................................34 Searching Memory ..........................................................34 Symbol Table ..................................................................35 Restore ............................................................................35 Execute and Trace .........................................................................36 Execution Instructions .....................................................36 Tracing Execution ...........................................................36 Breakpoints .....................................................................38 View Screen ...................................................................................39 Miscellaneous Commands .............................................................40 MPSIM Commands ........................................................................41 Chapter 5. MPSIM Commands ......................................................................47 Introduction ....................................................................................47 Alphabetic Summary of MPSIM Commands .................................47 AB – Abort Session ........................................................................54 AD – Add Item to View Screen ......................................................54 B – Set Breakpoint .........................................................................56 BC – Clear Breakpoint ...................................................................57 C – Continue Executing .................................................................57 CK – Clock .....................................................................................58 DB – Display All Active Breakpoints ..............................................59 DE – Delete Program Memory .......................................................59 DI – Display Program Memory in Symbolic Format .......................60 DK – Define Key ............................................................................61 DL – Delete Symbol from Symbol Table ........................................62 DM –Display Program Memory in Radix Designated Format ........ 63 DP – Display All Patches ...............................................................64 DR – Display All Registers .............................................................64 DS – Display Symbol Table ...........................................................65 1995 Microchip Technology Inc.