Running The Program; From Transfer Address; From Reset - HP 64793 Series User Manual

H8/338/329 emulator softkey interface
Table of Contents

Advertisement

Memory
:mnemonic
address
label
1000
:Init
1004
cmd_rd:Clear
1006
100A
cmd_rds:Scan
100E
1010
1012
cmd_:Exe_Cmd
1014
1016
1018
101A
101C
cmd_rd:Cmd_A
101E
1022
1024
cmd_rd:Cmd_B
1026
STATUS:
H8/338--Running in monitor____________________________________...R....
set symbols on
run
trace
Running the
Program
From Transfer
Address

From Reset

:file = cmd_rds.src:
data
7907FF80
MOV.W #FD00,R7
F800
MOV.B #00,R0L
6A88FE80
MOV.B R0L,@:Cmd_Input
6A0AFE80
MOV.B @:Cmd_Input,R2L
AA00
CMP.B #00,R2L
47F8
BEQ cmd_rds.src:Scan
AA41
CMP.B #41,R2L
4706
BEQ cmd_rds.sr:Cmd_A
AA42
CMP.B #42,R2L
470A
BEQ cmd_rds.sr:Cmd_B
4010
BRA cmd_rds.sr:Cmd_I
FB11
MOV.B #11,R3L
79041100
MOV.W #2000,R4
400E
BRA cmd_rd:Write_Msg
FB11
MOV.B #11,R3L
79041111
MOV.W #2011,R4
step
display
The "run" command lets you execute a program in memory. Entering
the "run" command by itself causes the emulator to begin executing at
the current program counter address. The "run from" command allows
you to specify an address at which execution is to start.
The "run from transfer_address" command specifies that the emulator
start executing at a previously defined "start address". Transfer
addresses are defined in assembly language source files with the .END
assembler directive (i.e., pseudo instruction). For example, the sample
program defines the address of the label Init as the transfer address.
The following command will cause the emulator to execute from the
address of the Init label.
run from transfer_address <RETURN>
The "run from reset" command specifies that the emulator begin
executing from target system reset (see "Running From Reset" section
in the "In-Circuit Emulation" chapter).
modify
break
end
Getting Started 2-15
---ETC--

Advertisement

Table of Contents
loading

This manual is also suitable for:

64793a64793b

Table of Contents