HP 64793 Series User Manual

H8/338/329 emulator softkey interface
Table of Contents

Advertisement

Quick Links

HP 64793
H8/338/329 Emulator
Softkey Interface
User's Guide
HP Part No. 64793-97002
Printed in U.S.A.
October 1992
Edition 1

Advertisement

Table of Contents
loading

Summary of Contents for HP 64793 Series

  • Page 1 HP 64793 H8/338/329 Emulator Softkey Interface User’s Guide HP Part No. 64793-97002 Printed in U.S.A. October 1992 Edition 1...
  • Page 2 Notice Hewlett-Packard 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. Hewlett-Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material.
  • Page 3 Printing History New editions are complete revisions of the manual. The date on the title page changes only when a new edition is published. A software code may be printed before the date; this indicates the version level of the software product at the time the manual was issued. Many product updates and fixes do not require manual changes, and manual corrections may be done without accompanying product changes.
  • Page 4 Using This Manual This manual introduces you to the following emulators as used with the Softkey Interface. HP 64793A H8/338 emulator HP 64793B H8/329 emulator Throughout this documentation, the following names are used to denote the microprocessors listed in the following table of supported microprocessors.
  • Page 5 differs from H8/338 emulator, it will be described as the "H8/329 emulator". This manual: Shows you how to use emulation commands by executing them on a sample program and describing their results. Shows you how to use the emulator in-circuit (connected to a target system).
  • Page 6 Organization Chapter 1 Introduction. This chapter lists the H8/338 emulator features and describes how they can help you in developing new hardware and software. Chapter 2 Getting Started. This chapter shows you how to use emulation commands by executing them on a sample program. This chapter describes the sample program and how to: load programs into the emulator, map memory, display and modify memory, display registers, step through programs, run programs, set software breakpoints, search...
  • Page 7 Commands, options, and parts of command syntax which may be entered by pressing softkeys. User specified parts of a command. normal Represents the HP-UX prompt. Commands which follow the "$" are entered at the HP-UX prompt. The carriage return key. <RETURN>...
  • Page 8: Table Of Contents

    From the "pmon" User Interface ....2-7 From the HP-UX Shell ..... . 2-8 Using the Default Configuration .
  • Page 9 Softkey Driven Help ......2-9 Pod Command Help ..... . . 2-10 Loading Absolute Files .
  • Page 10 Pin Protector(H8/329 Only) ....3-3 Installing the Target System Probe ....3-3 Pin State in Background .
  • Page 11 Register Classes and Names (H8/329 Emulator) ..5-13 Illustrations Figure 1-1. HP 64793 Emulator for the H8/338 Processor ..1-2 Figure 2-1. Sample Program Listing ....2-3 Figure 2-2.
  • Page 12: Introduction To The H8/338 Emulator

    Introduction to the H8/338 Emulator Introduction The topics in this chapter include: Purpose of the H8/338 emulator. Features of the H8/338 emulator. Purpose of the The H8/338 emulator is designed to replace the H8/338 microprocessor in your target system so you can control operation of the H8/338 Emulator microprocessor in your application hardware (usually referred to as the target system).
  • Page 13: Figure 1-1. Hp 64793 Emulator For The H8/338 Processor

    Figure 1-1. HP 64793 Emulator for the H8/338 Processor 1-2 Introduction to the H8/338 Emulator...
  • Page 14: Features Of The H8/338 Emulator

    Features of the H8/338 Emulator Supported The HP 64793A H8/338 emulator and HP 64793B H8/329 emulators support the microprocesors listed in the following table. Microprocessors Model Supported Microprocessor HP 64793A (H8/338 emulator) HD6473388CP (H8/338) HD6433388CP (H8/338) HD6413388CP (H8/338) HD6473378CP (H8/337)
  • Page 15: Clock Speeds

    The HP64793 H8/338 emulator is used with the following Emulation Memory Card. HP 64725A 128K byte Emulation Memory Card The emulation memory can be configured into 128 byte blocks. A maximum of 16 ranges can be configured as emulation RAM(eram), emulation ROM(erom), target system RAM(tram), target system ROM(trom), or guarded memory(grd).
  • Page 16: Single-Step

    Single-Step You can direct the emulation processor to execute a single instruction or a specified number of instructions. Breakpoints You can set the emulator/analyzer interaction so the emulator will break to the monitor program when the analyzer finds a specific state, allowing you to perform post-mortem analysis of the program execution.
  • Page 17: Limitations, Restrictions

    Limitations, Restrictions Foreground Monitor Foreground Monitor is not supported for the H8/338 emulator. Monitor Break at When the emulator breaks into the emulation monitor, sleep or software standby mode is released. Sleep/Standby Mode Store Condition and Disassembling of program execution in the trace list may not be accurate when the emulation analyzer is used with store condition.
  • Page 18: Getting Started

    Getting Started Introduction This chapter will lead you through a basic, step by step tutorial designed to familiarize you with the use of the H8/338 emulator with the Softkey Interface. This chapter will: Tell you what must be done before you can use the emulator as shown in the tutorial examples.
  • Page 19: Before You Begin

    Before beginning the tutorial presented in this chapter, you must have completed the following tasks: 1. Connected the emulator to your computer. The HP 64700 Series Installation/Service manual show you how to do this. 2. Installed the Softkey Interface software on your computer.
  • Page 20: Figure 2-1. Sample Program Listing

    .GLOBAL Init,Msgs,Cmd_Input .GLOBAL Msg_Dest .SECTION Table,DATA Msgs Msg_A .SDATA "THIS IS MESSAGE A" Msg_B .SDATA "THIS IS MESSAGE B" Msg_I .SDATA "INVALID COMMAND" End_Msgs .SECTION Prog,CODE ;**************************************************** Set up the Stack Pointer ;**************************************************** Init MOV.W #Stack,R7 ;**************************************************** ;* Clear previous command ;**************************************************** Clear MOV.B...
  • Page 21 ;**************************************************** ;* The destination area is cleared. ;**************************************************** Write_Msg MOV.W #Msg_Dest,R5 Clear_Old MOV.B #h’20,R6L Clear_Loop MOV.B R0L,@R5 ADDS.W #1,R5 DEC.B Clear_Loop ;**************************************************** ;* Message is written to the destination. ;**************************************************** MOV.W #Msg_Dest,R5 Write_Loop MOV.B @R4+,R6L MOV.B R6L,@R5 ADDS.W #1,R5 DEC.B Write_Loop ;**************************************************** ;* Go back and scan for next command.
  • Page 22 Processing Commands When a command is entered, the instructions from Exe_Cmd to Cmd_A determine whether the command was "A", "B", or an invalid command. If the command input byte is "A" (ASCII 41 hex), execution is transferred to the instructions at Cmd_A. If the command input byte is "B"...
  • Page 23: Sample Program Assembly

    Figure 2-2. Linkage Editor Subcommoand File Generate HP To generate HP Absolute file for the Softkey Interface, you need to use "h83cnvhp" absolute file format converter program. The h8cnvhp Absolute file converter is provided with HP 64876 H8/300 Assembler/Linkage Editor.
  • Page 24: Entering The Softkey Interface

    Entering the If you have installed your emulator and Softkey Interface software as directed in the HP 64700 Series Emulators Softkey Interface Softkey Interface Installation Notice, you are ready to enter the interface. The Softkey Interface can be entered through the pmon User Interface Software or from the HP-UX shell.
  • Page 25: From The Hp-Ux Shell

    Softkey Interface with the following command. $ emul700 <emul_name> <RETURN> The "emul_name" in the command above is the logical emulator name given in the HP 64700 emulator device table (/usr/hp64000/etc/64700tab). HP64793-19031 A.04.00 25Oct92 H8/338 EMULATION SERIES 64700 A Hewlett-Packard Software Product Copyright Hewlett-Packard Co.
  • Page 26: Using The Default Configuration

    <RETURN> key to see the next line, just as you do with the HP-UX more command. After all the information on the particular topic has been displayed (or after you press "q" to quit scrolling through information), you are prompted to press <RETURN>...
  • Page 27: Pod Command Help

    ---SYSTEM COMMANDS--- displays the possible help files help displays the possible help files fork a shell (specified by shell variable SH) !<shell cmd> fork a shell and execute a shell command cd <directory> change the working directory print the working directory cws <SYMB>...
  • Page 28: Loading Absolute Files

    Pod Commands Time Command 10:00:00 help m m - display or modify processor memory space m <addr> - display memory at address m -d<dtype> <addr> - display memory at address with display option m <addr>..<addr> - display memory in specified address range m -dm <addr>..<addr>...
  • Page 29: Displaying Symbols

    Displaying When you load an absolute file into memory (unless you use the "nosymbols" option), symbol information is loaded. Both global Symbols symbols and symbols that are local to a source file can be displayed. Global To display global symbols, enter the following command. display global_symbols <RETURN>...
  • Page 30: Displaying Memory In Mnemonic Format

    Symbols in cmd_rds.src: Static symbols Symbol name ___________________ Address range ___ Segment ____________ Offset Clear 1004 0004 Clear_Loop 1038 0038 Clear_Old 1036 0036 Cmd_A 101C 001C Cmd_B 1024 0024 Cmd_I 102C 002C Cmd_Input FC00 0000 Data FC00 0000 END_Msgs 00002031 Exe_Cmd 1012 0012...
  • Page 31: Displaying Memory With Symbols

    Memory :mnemonic :file = cmd_rds.src: address data 1000 7907FF80 MOV.W #FD80,R7 1004 F800 MOV.B #00,R0L 1006 6A88FE80 MOV.B R0L,@FC00 100A 6A0AFE80 MOV.B @FC00,R2L 100E AA00 CMP.B #00,R2L 1010 47F8 BEQ 100A 1012 AA41 CMP.B #41,R2L 1014 4706 BEQ 101C 1016 AA42 CMP.B #42,R2L 1018...
  • Page 32: Running The Program

    Memory :mnemonic :file = cmd_rds.src: address label data 1000 :Init 7907FF80 MOV.W #FD00,R7 1004 cmd_rd:Clear F800 MOV.B #00,R0L 1006 6A88FE80 MOV.B R0L,@:Cmd_Input 100A cmd_rds:Scan 6A0AFE80 MOV.B @:Cmd_Input,R2L 100E AA00 CMP.B #00,R2L 1010 47F8 BEQ cmd_rds.src:Scan 1012 cmd_:Exe_Cmd AA41 CMP.B #41,R2L 1014 4706 BEQ cmd_rds.sr:Cmd_A...
  • Page 33: Displaying Memory Repetitively

    Displaying You can display memory locations repetitively so that the information on the screen is constantly updated. For example, to display the Memory Msg_Dest locations of the sample program repetitively (in blocked Repetitively byte format), enter the following command. display memory Msg_Dest repetitively blocked bytes <RETURN>...
  • Page 34: Breaking Into The Monitor

    modify memory Cmd_Input string to ’A’ <RETURN> After the memory location is modified, the repetitive memory display shows that the "Command A entered" message is written to the destination locations. Breaking into the The "break" command allows you to divert emulator execution from the user program to the monitor.
  • Page 35: Enabling/Disabling Software Breakpoints

    Note Because software breakpoints are implemented by replacing opcodes with the special code, you cannot define software breakpoints in target ROM. When software breakpoints are enabled and emulator detects a fetching the special code (5770 hexadecimal), it generates a break to background request which as with the "processor break"...
  • Page 36 modify software_breakpoints set Cmd_A <RETURN> Notice that when using local symbols in expressions, the source file in which the local symbol is defined must be included. After the software breakpoint has been set, enter the following command to display memory and see if the software breakpoint was correctly inserted.
  • Page 37: Clearing A Software Breakpoint

    inverse-video. The inverse-video shows that the Program Counter is now at the address. A message on the status line shows that the software breakpoint has been hit. The status line also shows that the emulator is now executing in the monitor. When software breakpoints are hit, they become inactivated.
  • Page 38: Displaying Registers

    Displaying Enter the following command to display registers. You can display the basic registers class, or an individual register. Registers display registers <RETURN> Registers Next_PC 1022 PC 1022 SP FF80 CCR 80 <i > MDCR E7 R0 0000 R1 0000 R2 0041 R3 0011 R4 1100...
  • Page 39: Using The Analyzer

    <RETURN> Using the Analyzer HP 64700 emulators contain an emulation analyzer. The emulation analyzer monitors the internal emulation lines (address, data, and status). Optionally, you may have an additional 16 trace signals which monitor external input lines.
  • Page 40: Displaying The Trace

    The message "Emulation trace started" will appear on the status line. Now, modify the command input byte to "B" with the following command. modify memory Cmd_Input bytes to 42h <RETURN> The status line now shows "Emulation trace complete". Displaying the Trace The trace listings which follow are of program execution on the H8/338 emulator.
  • Page 41: Displaying Trace With Time Count Absolute

    Trace List Offset=0 Label: Address Data Opcode or Status time count Base: symbols mnemonic w/symbols relative +015 :cmd_rds.s:+0034 FE82 FE82 fetch mem +016 cmd_rd:Clear_Old FE20 MOV.B #20,R6L +017 cmd_r:Clear_Loop 68D8 MOV.B R0L,@R5 +018 :cmd_rds.s:+003A 0B05 ADDS #1,R5 +019 :Msg_Dest 0000 write mem byte +020 :cmd_rds.s:+003C...
  • Page 42: Changing The Trace Depth

    Trace List Offset=0 Label: Address Data Opcode or Status time count Base: symbols mnemonic w/symbols absolute after cmd_rd:Cmd_Input 42FF read mem byte ------------ +001 abs 2010 47F8 BEQ cmd_rds.src:Scan + 200 +002 cmd_rds.:Exe_Cmd AA41 CMP.B #41,R2L + 400 +003 cmd_rds.src:Scan 6A0A 6A0A fetch mem...
  • Page 43: H8/338 Analysis Status Qualifiers

    Trace List Offset=0 Label: Address Data Opcode or Status time count Base: symbols mnemonic w/symbols absolute +345 :cmd_rds.s:+004C 46F6 BNE cmd_r:Write_Loop 72.40 +346 :cmd_rds.s:+004E 40B4 BRA cmd_rds.sr:Clear 72.60 +347 cmd_r:Write_Loop 6C4E 6C4E fetch mem 72.80 +348 1050 F3FF F3FF fetch mem 73.00 +349 cmd_rds.sr:Clear...
  • Page 44: Trace Analysis Considerations

    Trace Analysis There are some points to be noticed when you use the emulation analyzer. Considerations How to Specify You need to be careful to specify the condition on which the emulation analyzer should start the trace. Suppose that you would like to start the Trigger Condition trace when the program begins executing Exe_Cmd routine: trace after cmd_rds.src:Exe_Cmd...
  • Page 45: Store Condition And Trace

    trace after cmd_rds.src:Exe_Cmd+2 <RETURN> (Since the instruction at Exe_Cmd label is two bytes instruction, the next instruction starts from Exe_Cmd+2.) modify memory Cmd_Input bytes to 41h <RETURN> Trace List Offset=0 Label: Address Data Opcode or Status time count Base: symbols mnemonic w/symbols absolute after...
  • Page 46 Trace List Offset=0 Label: Address Data Opcode or Status time count Base: symbols mnemonic w/symbols absolute after cmd_rds.:Exe_Cmd AA41 AA41 fetch mem ------------ +001 cmd_rds.src:Scan 6A0A MOV.B @:Cmd_Input,R2L + 200 +002 :cmd_rds.s:+000C FC00 FC00 fetch mem + 400 +003 :cmd_rds.s:+000E AA00 CMP.B #00,R2L + 600...
  • Page 47: Triggering The Analyzer By Data

    As you can see the execution of CMP.B instructions are not disassembled. This occurs when the analyzer cannot get necessary information for disassembling because of the store condition. Be careful when you use the trace only command. Triggering the You may want to trigger the emulation analyzer when specific data appears on the data bus.
  • Page 48: For A Complete Description

    Be careful to trigger the analyzer by data. For a Complete For a complete description of using the HP 64700 Series analyzer with the Softkey Interface, refer to the Analyzer Softkey Interface User’s Description Guide.
  • Page 49: Selecting The Measurement System Display Or Another Module

    emul700 command. When you enter the Softkey Interface via pmon and MEAS_SYS, only one window is permitted. Refer to the Softkey Interface Reference manual for more information on using the Softkey Interface with window systems. Selecting the When you enter the Softkey Interface via pmon and MEAS_SYS, you have the option to select the measurement system display or another Measurement System module in the measurement system when exiting the Softkey Interface.
  • Page 50: Using The H8/338 Emulator In-Circuit

    Using the H8/338 Emulator In-Circuit When you are ready to use the H8/338 Emulator in conjunction with actual target system hardware, there are some special considerations you should keep in mind. installing the emulator probe properly configure the emulator We will cover the first topic in this chapter. For complete details on in-circuit emulation configuration, refer to Chapter 4.
  • Page 51: Installing The Target System Probe

    Pin Guard The HP 64793 emulator is shipped with a pin guard to prevent impact damage to the target system probe pins. The guard should be left in place while you are not using the emulator.
  • Page 52: Pin Protector(H8/329 Only)

    H8/329 Emulator HP 64793B H8/329 emulator is shipped with a conductive plastic pin guard over the target system probe pins. When you do use the emulator, either for normal emulation tasks, or to run performance...
  • Page 53: Figure 3-1. Installing The Probe (H8/338 Emulator)

    Note When you are using the H8/338 emulator, we recommend that you use ITT CANNON "LCS-84" series 84 pin PLCC socket to make sure the contact between emulator probe and target system microprocessor socket. Figure 3-1. Installing the Probe (H8/338 emulator) 3-4 In-Circuit Emulation...
  • Page 54: Pin State In Background

    Figure 3-2. Installing the Probe (H8/329 emulator) Pin State in While the emulator is running the background monitor, probe pins are in the following state. Background Address Bus Same as foreground Data Bus Always high impedance otherwise you direct the emulator to modify target memory.
  • Page 55: Target System Interface (H8/338)

    Target System Interface (H8/338) MD1 MD0 These signals are connected to 74HCT14 RES NMI through 51 ohm series resistor and 10K ohm STBY pull-up resistor. P1(7:0) P5(2:0) These signals are connected to H8/338 P2(7:0) P6(7:0) emulation processor through 51 ohm series P3(7:0) P8(6:0) resistor and 10K ohm pull-up resistor.
  • Page 56 This signal are connected to H8/338 emulation processor and GAL20V8 through 51 ohm series resistor. P7(7:0) These signals are connected to H8/338 emulation processor through 51 ohm series resister 3-7 In-Circuit Emulation...
  • Page 57: Target System Interface (H8/329)

    Target System Interface (H8/329) MD1 MD0 These signals are connected to 74HCT14 RES NMI through 51 ohm series resistor and 10K ohm STBY pull-up resistor. P1(7:0) P4(6:0) These signals are connected to H8/329 P2(7:0) P5(2:0) emulation processor through 51 ohm series P3(7:0) P6(7:0) resistor and 10K ohm pull-up resistor.
  • Page 58 This signal are connected to H8/329 emulation processor and GAL20V8 through 51 ohm series resistor. P7(7:0) These signals are connected to H8/329 emulation processor through 51 ohm series resister 3-9 In-Circuit Emulation...
  • Page 59: In-Circuit Configuration Options

    In-Circuit The H8/338 emulator provides configuration options for the following in-circuit emulation issues. Configuration Refer to the "Configuring the Emulator" for more information on these Options configuration options. Using the Target System Clock Source You can configure the emulator to use the external target system clock source.
  • Page 60: Configuring The Emulator

    The emulator is a flexible instrument and may be configured to suit your needs at any stage of the development process. This chapter describes the options available when configuring the HP 64793 emulator. The configuration options are accessed with the following command.
  • Page 61 Memory Configuration: Mapping memory. Emulator Pod Configuration: Selecting the microprocessor to be emulated. Selecting the processor operation mode. Enabling /NMI input from the target system. Enabling /RES input from the target system. Setting up the reset value for the stack pointer. Debug/Trace Configuration: Enabling breaks on writes to ROM.
  • Page 62: General Emulator Configuration

    General Emulator The configuration questions described in this section involve general emulator operation. Configuration Micro-processor This configuration question allows you to select whether the emulator will be clocked by the internal clock source or by a target system clock clock source? source.
  • Page 63: Restrict To Real-Time Runs

    When reset to monitor is selected, the emulator will be running in the monitor after configuration is complete. If the reset to monitor fails, the previous configuration will be restored. After the configuration is complete, the emulator will be held in the reset state. Restrict to real-time The "restrict to real-time"...
  • Page 64: Memory Configuration

    Memory The memory configuration questions allow you to select the monitor type and to map memory. To access the memory configuration Configuration questions, you must answer "yes" to the following question. Modify memory configuration? Mapping memory The emulation memory consists of 64K bytes, mappable in 128 byte blocks.
  • Page 65 Blocks of memory can also be characterized as guarded memory. Guarded memory accesses will generate "break to monitor" requests. Writes to ROM will generate "break to monitor" requests if the "Enable breaks on writes to ROM?" configuration item is enabled (see the "Debug/Trace Configuration"...
  • Page 66: Emulator Pod Configuration

    Emulator Pod To access the emulator pod configuration questions, you must answer "yes" to the following question. Configuration Modify emulator pod configuration? Processor type? This configuration defines the microprocessor to be emulated. H8/338 Emulator When you are going to emulate H8/336 microprocessor, select this item.
  • Page 67: Processor Operation Mode

    Processor operation This configuration defines operation mode in which the emulator works. mode? external The emulator will work using the mode setting by the target system. The target system must supply appropriate input to MD0 and MD1. If you are using the emulator out of circuit when "external"...
  • Page 68: Enable /Nmi Input From The Target System

    Enable /NMI input This configuration allows you to specify whether or not the emulator responds to /NMI (non-maskable interrupt request) signal from the from the target target system during foreground operation. system? The emulator will respond to the /NMI request from the target system.
  • Page 69: Debug/Trace Configuration

    Debug/Trace The debug/trace configuration questions allows you to specify breaks on writes to ROM, and specify that the analyzer trace Configuration foreground/background execution, and bus release cycles. To access the trace/debug configuration questions, you must answer "yes" to the following question. Modify debug/trace options? Break processor on This question allows you to specify that the emulator break to the...
  • Page 70: Simulated I/O Configuration

    foreground Specifies that the analyzer trace only foreground cycles. This option is specified by the default emulator configuration. background Specifies that the analyzer trace only background cycles. (This is rarely a useful setting.) both Specifies that the analyzer trace both foreground and background cycles.
  • Page 71: Saving A Configuration

    Saving a The last configuration question allows you to save the previous configuration specifications in a file which can be loaded back into the Configuration emulator at a later time. Configuration file name? <FILE> The name of the last configuration file is shown, or no filename is shown if you are modifying the default emulator configuration.
  • Page 72: Using The Emulator

    Using the Emulator Introduction In the "Getting Started" chapter, you learned how to load code into the emulator, how to modify memory and view a register, and how to perform a simple analyzer measurement. In this chapter, we will discuss in more detail other features of the emulator. This chapter discusses: Features available via "pod_command".
  • Page 73: Features Available Via Pod Commands

    Note and the configuration files in particular, assume that the configuration of the HP 64700 pod is NOT changed except by the Softkey Interface. Be aware that what you see in "modify configuration" will NOT reflect the HP 64700 pod’s configuration if you change the pod’s configuration with this...
  • Page 74: Using A Command File

    Using a Command You can use a command file to perform many functions for you, without having to manually type each function. For example, you File might want to create a command file that loads configuration, loads program into memory and displays memory. To create such a command file, type "log"...
  • Page 75: Debugging C Programs

    Debugging C Softkey Interface has following functions to debug C programs. Programs Including C source lines in memory mnemonic display Including C source lines in trace listing Stepping C sources The following section describes such features. Displaying Memory You can display memory in mnemonic format with C source lines. For example, to display memory in mnemonic format from address _main with C Sources with source lines, enter the following commands.
  • Page 76: Stepping C Sources

    set source on inverse_video on <RETURN> Stepping C Sources You can direct the emulator to execute a line or a number of lines at a time. For example, to step one line from address _main, enter the following command. step source from _main <RETURN> To step 1 line from the current line, enter the following command.
  • Page 77: Step Command And Interrupts

    Step Command and Step execution cannot be performed in the following cases. Interrupts When the emulator is in the monitor and a suspended interrupt is existed. When the emulator is in the monitor and a level sensed interrupt is existed (including interrupts from internal I/O device).
  • Page 78: Storing Memory Contents To An Absolute File

    Storing Memory The "Getting Started" chapter shows you how to load absolute files into emulation or target system memory. You can also store emulation Contents to an or target system memory to an absolute file with the following Absolute File command.
  • Page 79: Register Classes And Names (H8/338 Emulator)

    Register Classes The following register classes and names are used with the display/modify registers commands in H8/338 emulator. and Names (H8/338 Emulator) BASIC (*) class Register name Description Program counter Condition code register Register 0 Register 1 Register 2 Register 3 Register 4 Register 5 Register 6...
  • Page 80 PORT class (I/O port) Register name Description P1DDR Port 1 data direction register P2DDR Port 2 data direction register P3DDR Port 3 data direction register P4DDR Port 4 data direction register P5DDR Port 5 data direction register P6DDR Port 6 data direction register P8DDR Port 8 data direction register P9DDR...
  • Page 81 TMR0 class (8 bit timer 0) Register name Description TCR0 Timer control register TCSR0 Timer control/status register TCORA0 Timer constant register A TCORB0 Timer constant register B TCNT0 Timer counter TMR1 class (8 bit timer 1) Regsiter name Description TCR1 Timer control register TCSR1 Timer control/status register...
  • Page 82 SCI0 class (Serial communication interface 0) Register name Description SMR0 Serial mode register BRR0 Bit rate register SCR0 Serial control register TDR0 Transmit data register SSR0 Serial status register RDR0 Receive data register SCI1 class (Serial communication interface 1) Register name Description SMR1 Serial mode register...
  • Page 83 DAC class (D/A converter) Register name Description DADR0 D/A data register 0 DADR1 D/A data register 1 DACR D/A control register No class The following register names are not included in any register class. Register name Description Register 0 H Register 0 L Register 1 H Register 1 L...
  • Page 84: Register Classes And Names (H8/329 Emulator)

    Register Classes The following register classes and names are used with the display/modify registers commands in H8/329 emulator. and Names (H8/329 Emulator) BASIC (*) class Register name Description Program counter Condition code register Register 0 Register 1 Register 2 Register 3 Register 4 Register 5 Register 6...
  • Page 85 Port class (I/O port) Register name Description P1DDR Port 1 data direction register P2DDR Port 2 data direction register P3DDR Port 3 data direction register P4DDR Port 4 data direction register P5DDR Port 5 data direction register Port 6 data direction register P6DDR P7DDR Port 7 data direction register...
  • Page 86 TMR0 class (8 bit timer 0) Register name Description TCR0 Timer control register TCSR0 Timer control/status register TCORA0 Timer constant register A TCORB0 Timer constant register B TCNT0 Timer counter TMR1 class (8 bit timer 1) Register name Description TCR1 Timer control register TCSR1 Timer control/status register...
  • Page 87 ADC class (A/D converter) Register name Description ADDRA A/D data register A ADDRB A/D data register B ADDRC A/D data register C ADDRD A/D data register D ADCSR A/D control/status regieter ADCR A/D control register No Class The following register names are not included in any register class. Register name Description Register 0 H...
  • Page 88 Index absolute file, loading, 2-11 absolute files storing, 5-7 analyzer configuring the external, 4-11 features of, 1-4 H8/338 status qualifiers, 2-26 triggering by data, 2-30 using the, 2-22 assembling the getting started sample program, 2-6 background cycles tracing, 4-10 blocked byte memory display, 2-16 breaks, 1-5 break command, 2-17 guarded memory accesses, 4-6...
  • Page 89 /NMI input, 4-9 honor target reset, 4-9 in-circuit, 3-10 processor mode, 4-8 convert SYSROF absolute file to HP Absolute, 2-6 converter, h8cnvhp, 2-6 coordinated measurements, 4-11, 5-7 copy memory, 5-2 coverage analysis, 5-2 Debugging C programs, 5-4...
  • Page 90 restrict to real-time runs, 4-4 saving, 4-12 stack pointer, 4-9 trace background/foreground operation, 4-10 END assembler directive (pseudo instruction), 2-15 end command, 2-31, 4-12 exit, Softkey Interface, 2-31 external analyzer, 2-22 configuration, 4-11 external clock source, 4-3 features of the emulator, 1-3 file extensions .EA and .EB, configuration files, 4-12 foreground operation...
  • Page 91 2-16 searching for strings or expressions, 5-2 memory mapping maximum number of terms, 4-5 sequence of map/load commands, 4-7 microprocessors, supported by HP 64736 emulator, 1-3 mnemonic memory display, 2-13 modify command configuration, 4-1 memory, 2-16 software breakpoints clear, 2-20...
  • Page 92 "set" command at each window, 2-14 write to ROM analyzer status, 4-10 on-line help, 2-9 PATH, HP-UX environment variable, 2-6 - 2-8 pin guard conductive pin guard for H8/325 emulator, 3-3 non-conductive pin guard for H8/338 emulator, 3-3...
  • Page 93 release_system end command option, 2-31, 4-12 repetitive display of memory, 2-16 reset (emulator) running from target reset, 3-10 reset(emulator), 1-5 reset(emulator), running from target reset, 2-15 restrict to real-time runs emulator configuration, 4-4 permissible commands, 4-4 target system dependency, 4-4 mapping emulation or target, 4-5 writes to, 4-6 run command, 2-15...
  • Page 94 symbols in memory display, 2-14 symbols, displaying, 2-12 system overview, 2-2 target memory RAM and ROM characterization, 4-5 target memory, loading absolute files, 2-11 target reset running from, 3-10 target system, 1-1 dependency on executing code, 4-4 interface (H8/325), 3-8 interface (H8/338), 3-6 Target system probe cautions for installation, 3-2...
  • Page 95 Notes 8 - Index...

This manual is also suitable for:

64793a64793b

Table of Contents