Register Manipulation Commands; Info Reg (Display Register) [Icd Mini / Sim] - Epson S5U1C17001C Manual

Cmos 16-bit single chip microcontroller (c compiler package for s1c17 family) (ver. 3.1)
Hide thumbs Also See for S5U1C17001C:
Table of Contents

Advertisement

8.5.5

Register Manipulation Commands

info reg
(display register)
Operation
Displays the contents of the CPU registers.
Format
info reg [RegisterName]
RegisterName: Name of register to display (specified in lowercase letters)
r0–r7, sp, pc, psr
If the above is omitted, the contents of all registers are displayed.
Display
Register contents are displayed as described below.
Register
Hexadecimal
This is a register name.
Register:
Hexadecimal:
Shows the register value in hexadecimal.
Decimal:
Shows the register value in decimal.
Usage example
■Example 1
(gdb) info reg r1
r1
(gdb) info reg pc
pc
When a register name is specified, only the content of that register is displayed.
■Example 2
(gdb) info reg
r0
0xd20
r1
0xaaaaaa
r2
0xaaaaaa
r3
0xaaaaaa
r4
0x690
r5
0xaaaaaa
r6
0x0
r7
0xaaaaaa
sp
0x7f8
pc
0xc00030
psr
0x2
Notes
Be sure to specify register names in lowercase letters. Using uppercase letters for register names or specifying nonexistent
register names results in an error.
S5U1C17001C Manual
(Rev. 1.0)
Decimal
0xaaaaaa
1184810
0x4090
16528
3360
1184810
1184810
1184810
1680
1184810
0
1184810
2040
12582960
2
Seiko Epson Corporation
8 Debugger
[ICD Mini / SIM]
8-19

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S5U1C17001C and is the answer not in the manual?

Table of Contents