User`s guide
Table Of Contents
- Contents
- Tables
- Preface
- Introduction
- Getting Started
- 2.1 Overview
- 2.2 Hardware Required
- 2.3 Hardware Debug Features
- 2.4 Setting Up the SROM Serial Port Connection
- 2.5 Starting and Running the Mini-Debugger
- 2.6 Sample Session on the EB64
- 2.7 Sample Session on the EB64+ and the AlphaPC 6...
- 2.8 Sample Session on the EB66 and EB66+
- 2.9 Sample Session on the EB164
- 2.10 Sample Session on the AlphaPC 164
- 2.11 Sample Session on the AlphaPC 164LX
- 2.12 Onboard Machine Check Handler
- SROM Mini-Debugger Command Set
- Support, Products, and Documentation
- Index

SROM Mini-Debugger Command Set 3–11
User Commands
cp
The copy (cp) command reads data from a range of addresses and writes it to
another.
Control Flags
ba (base address flag)
lo (loop flag)
qw (quadword data flag)
Description
The copy command moves sections of data from one place in memory to another.
The first two addresses specify the starting and ending addresses of the block to be
moved. The third input provides the destination address for the copy.
Example
In the following example, a block starting at 400000 is filled with its own addresses
and then copied to 500000:
SROM> wa ! Use the address as the data for the writes.
Wrt Addr ON
SROM> fm
! Fill this block with its own addresses.
A> 400000
A> 400020
SROM> cp ! Copy the block to 500000
A> 400000
A> 400020
A> 500000
SROM> bm ! This shows the data was moved to 500000
A> 500000
A> 500010
00000000.00500000: 00400000
00000000.00500004: 00400004
00000000.00500008: 00400008
00000000.0050000c: 0040000c