Agilent Technologies E5900B User Manual page 143

Hide thumbs Also See for E5900B:
Table of Contents

Advertisement

5 Load a short program into a valid RAM location:
start: add r0,1
nop
nop
nop
br start
M>reg r0=0
M>mo -a2 -d2
M>m 10000=2000,1200,1200,1200,f7fb
Single step the program and note register r0 contents. It should increment
when add r0,1 is executed.
M>s
M>reg r0
M>reg r0=00000001
Run the program and check the value of r0.
M>r 10000
U>reg r0
reg r0=00034567 # or some number
U>reg r0
reg r0=00102333 # or some number
U>
This program will loop forever, incrementing r0.
This is a good test program to load once a memory system is up to make sure
the microprocessor can run code from memory.
Emulation for the Motorola M•CORE
Troubleshooting the Emulation Probe
- 0x2000
- 0x1200
- 0x1200
- 0x1200
- 0xf7fb
Problems with the Target System
143

Advertisement

Table of Contents
loading

Table of Contents