When displaying memory mnemonic, a highlighted bar shows the current program
counter address. After each step, the highlighted bar moves to the new PC address.
When displaying registers, the registers are updated after every step.
You can open multiple windows to show memory mnemonic and registers at the
same time. Both are updated with each step.
If you omit the <address>, the current program counter value is used. You can use
transfer_address to step from the entry point of the program.
When stepping through instructions associated with source lines, execution may
take a long time and the message "Stepping source line 1; Next PC: <address>" is
displayed on the status line. In this situation, you can abort the step command by
pressing <CTRL>c.
The emulator uses the built-in tracing capability of the MC68040 processor to
single step assembly instructions. The emulator needs the trace exception vector
(located at offset 0x24 in the vector table) to be set properly in order to single step
instructions. When a step command is given to the emulator, the emulator reads the
trace exception vector and attempts to change one or more vector table entries if the
trace exception vector is not set correctly. As long as the vector table is located in
emulation memory or target RAM, stepping should always succeed. Upon
completion of single stepping, the emulator restores modified vector table entries
and issues a status message the first time the vector table is modified.
If the trace exception vector does not contain the correct value and the vector table
is located in target ROM, the emulator will issue an error message and not perform
the single step. There are two ways to deal with this situation. Either alter the
ROM-based code so the trace vector contains the correct value, or copy/relocate the
vector table into emulation memory or target RAM.
The correct value of the trace exception vector differs, depending on whether you
are using a background or foreground monitor. The foreground monitor requires
that the trace exception vector point to the TRACE_ENTRY address in the monitor
(located at offset 0x680 from the start of the monitor). If the trace exception vector
already contains the correct value, the emulator performs the single step without
modifying the vector table. Otherwise, the emulator attempts to change the trace
a-line and f-line exception vectors to the TRACE_ENTRY address in the
foreground monitor.
The background monitor only requires that the trace exception vector be an even
value and point to readable memory. This allows the processor to complete trace
exception processing, including initial prefetches from the trace exception handler,
during transition into the background monitor. After reading the trace exception
Chapter 4: Using the Emulator
Using Processor Run Controls
156
Содержание 64783A
Страница 1: ...User s Guide for the Graphical User Interface MC68040 EC040 LC040 Emulator Analyzer HP 64783A B ...
Страница 30: ...xxx ...
Страница 31: ...Part 1 Quick Start Guide 1 ...
Страница 33: ...1 Getting Started 3 ...
Страница 70: ...40 ...
Страница 71: ...2 Solving Quick Start Problems Solutions to problems you might face during the Getting Started procedures 41 ...
Страница 75: ...Part 2 Using The Emulator 45 ...
Страница 140: ...110 ...
Страница 141: ...4 Using the Emulator How to control the processor and view system resources 111 ...
Страница 227: ...5 Using the Emulation Bus Analyzer How to record program execution in real time 197 ...
Страница 290: ...260 ...
Страница 311: ...7 Making Software Performance Measurements How to make software performance measurements on your programs 281 ...
Страница 331: ...8 Configuring the Emulator 301 ...
Страница 382: ...352 ...
Страница 383: ...9 Solving Problems What to do when the emulator doesn t behave as expected 353 ...
Страница 397: ...Part 3 Reference 367 ...
Страница 399: ...10 Using Memory Management Understanding logical and physical emulation and analysis 369 ...
Страница 429: ...11 Emulator Commands The command syntax reference for the emulator softkey interface 399 ...
Страница 443: ...copy Chapter 11 Emulator Commands copy 413 ...
Страница 451: ...display Chapter 11 Emulator Commands display 421 ...
Страница 457: ...DISPLAY MEMORY Chapter 11 Emulator Commands DISPLAY MEMORY 427 ...
Страница 461: ...DISPLAY MMU Chapter 11 Emulator Commands DISPLAY MMU 431 ...
Страница 464: ...DISPLAY TRACE Chapter 11 Emulator Commands DISPLAY TRACE 434 ...
Страница 470: ...Examples end end locked end release_system See Also emul700 emulator_name help end Chapter 11 Emulator Commands end 440 ...
Страница 480: ...modify Chapter 11 Emulator Commands modify 450 ...
Страница 501: ...set Chapter 11 Emulator Commands set 471 ...
Страница 514: ... SYMB Chapter 11 Emulator Commands SYMB 484 ...
Страница 582: ...552 ...
Страница 583: ...13 Setting X Resources 553 ...
Страница 598: ...568 ...
Страница 606: ...576 ...
Страница 607: ...15 Microtec Language Tools Used With MC68040 Emulators Using the emulator analyzer with Microtec language tools 577 ...
Страница 613: ...16 Specifications and Characteristics 583 ...
Страница 627: ...Part 4 Concept Guide 597 ...
Страница 629: ...17 X Resources and the Graphical User Interface 599 ...
Страница 639: ...Part 5 Installation and Service Guide 609 ...
Страница 645: ...Chapter 18 Connecting the Emulator to a Target System Plugging The Emulator Into A Target System 615 ...
Страница 697: ...19 Installation and Service 667 ...
Страница 746: ...Chapter 19 Installation and Service Verifying the Installation 716 ...
Страница 755: ...20 Installing Updating Emulator Firmware 725 ...
Страница 762: ...732 ...
Страница 778: ...748 ...
Страница 810: ...X server 554 604 X Window System 54 Index 780 ...