HP E3456A User Manual page 136

Emulation for the powerpc mpc500
Table of Contents

Advertisement

Chapter 6: Solving Problems
Solving Target System Problems
bra start - 0x4bfffff4
The opcode 0x4bfffff4 is a branch to a relative offset, so this program
can be placed at any start address.
M>reg r1=0
M>m -a2 -d2 10000=3821,1,6000,0,6000,0,4bff,fff4
M>r 10000
U>reg r1
reg r1=00034567 # or some number
U>reg r1
reg r1=00102333 # or some number
U>
This program will loop forever, incrementing r1. This is a good test
program to load once a memory system is up to make sure the
microprocessor can run code out of memory.
134

Advertisement

Table of Contents
loading

This manual is also suitable for:

16610a

Table of Contents