![HP 7750 User Manual Download Page 83](http://html.mh-extra.com/html/hp/7750/7750_user-manual_164066083.webp)
Now, you need to map memory space for the sample program. Type:
R> map 0c000..0dfff erom
If you are going to emulate a processor which has no internal RAM,
map 100 hex through 2ff hex as emulation RAM.
Set a Stack Pointer
You need to set up the stack pointer for use by the foreground monitor.
The foreground monitor use the stack when transit from foreground
monitor to user program. You can use the cf rsp command to define
the stack pointer location; the stack pointer will be initialized on each
transition from emulation reset to the monitor. Type:
R> cf rsp=27f
Load the Program
Code
Now it’s time to load the sample program and monitor. Assemble and
link the monitor program.
In the example shown, we’re loading the program from a host with the
emulator in Transparent Configuration. If you’re using the standalone
configuration with a data terminal, you will need to enter the data using
the m command. (You can get the data from your assembly listings.)
See Chapter 2 for information.
Load the sample program by typing:
R> load -ios "cat cmd_rds.hex"
Load the monitor program by typing:
R> load -ios "cat fm7750.hex"
Before we forget, let’s initialize the stack pointer by breaking the
emulator out of reset:
R> b
Now you can run the sample program.
M> r 0c0000
Using A Foreground Monitor A-5
Summary of Contents for 7750
Page 2: ......
Page 12: ...Figure 1 1 HP 64147 Emulator for MELPS 7750 51 Series 1 2 Introduction ...
Page 50: ...Notes 2 32 Getting Started ...
Page 56: ...3 6 In Circuit Emulation ...