A-24
Cisco Broadband Cable Command Reference Guide
OL-1581-07
Appendix A Using the ROM Monitor
dis
dis
To disassemble a segment of main memory, use the
dis
command in ROM monitor mode.
dis
[
address
] [
num-of-bytes
]
Syntax Description
Defaults
If no arguments are given, the command prompts for the
address
and
num-of-bytes
parameters.
Command Modes
ROM monitor
Command History
Examples
The following example shows a typical disassembly:
rommon 23 >
dis 0x60696358 0x20
0x60696358: 1040012b beq v0, zero, #0x60696808
0x6069635c: 00008821 addu s1, zero, zero
0x60696360: 8e0285d0 lw v0, -31280(s0)
0x60696364: 14400006 bne v0, zero, #0x60696380
0x60696368: 00002021 addu a0, zero, zero
0x6069636c: 0c1a2d93 jal 0x6068b64c
0x60696370: 00002021 addu a0, zero, zero
0x60696374: 8e0285d0 lw v0, -31280(s0)
rommon 24 >
The following example shows the command’s interactive mode being used to perform the same
disassembly:
rommon 25 >
dis
Enter in hex the start address [0x0]:
0x60696358
Enter in hex the test size or length in bytes [0x0]:
0x20
0x60696358: 1040012b beq v0, zero, #0x60696808
0x6069635c: 00008821 addu s1, zero, zero
0x60696360: 8e0285d0 lw v0, -31280(s0)
0x60696364: 14400006 bne v0, zero, #0x60696380
0x60696368: 00002021 addu a0, zero, zero
address
(Optional) Address in main memory at which the disassembly should begin.
num-of-bytes
(Optional) Number of bytes to disassemble.
Release
Modification
11.3 NA
This command was introduced on Cisco uBR7200 series routers.
12.1(5)EC
Support was added for Cisco uBR7100 series routers.
12.2(4)BC1
Support was added for the Cisco uBR10012 router. Changes were also made
to the boot procedure after breaking into ROMMON to ensure that all
hardware and software registers are in a known state before loading the new
image.