
SRM Console
2-33
2.14
Depositing and Examining Data
Example 2–20 Deposit Command
>>> dep -b -n 1ff pmem:0 0
#
Clear 1st 512 bytes of physical mem.
>>> d -l -n 3 vmem:1234 5
#
Deposit 5 into four longwords starting
# at virtual memory address 1234.
>>> d -n 8 r0 ffffffff
#
Load GPRs R0 through R8 with -1.
>>> d -l -n 10 -s 200 pmem:0 8
#
Deposit 8 in the 1
st
longword of the
# first 17 pages in physical memory
>>> d -l pmem:0 0
#
Deposit 0 to physical mem address 0.
>>> d + ff
# Deposit FF to physical mem address 4.
>>> d scbb 820000
#
Deposit 820000 to SCBB.
Example 2–21 Examine Command
>>> examine pc
# Examine the program counter.
PC psr: 0 ( PC) 0000000000001170
>>> examine sp
# Examine the stack pointer.
gpr: F0 ( R30) 0000000000072A60
>>> e -n 6 r4
# Examine register R4 & the next 6 registers.
grp: 20 ( R4) 0000000000005000
grp: 28 ( R5) 000000000FFFE000
grp: 30 ( R6) 00000003F8000C00
grp: 38 ( R7) 0000000053F761AE
grp: 40 ( R8) 0000010000000000
grp: 48 ( R9) 00000003F7800100
grp: 50 ( R10) 00000000000C7FFC
>>> examine pmem:400EC
# Examine physical memory.
pmem: 400EC A49D0078A47D0070
Содержание AlphaStation XP900
Страница 4: ......