# HG changeset patch # User fturovic # Date 1281639380 18000 # Node ID 4eae2726ff31aac26641dda0de2f80c861166bed # Parent 2a6a8cc0b9a15661af27b10b94804a395cd725c9 consolidated register pages diff -r 2a6a8cc0b9a1 -r 4eae2726ff31 core/com.nokia.carbide.cpp.doc.user/html/concepts/arm_registers.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/arm_registers.htm Thu Aug 12 13:03:07 2010 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,39 +0,0 @@ - - - - - - -ARM Registers - - - -

ARM Registers

-

Registers are the register contents of the central processing unit (CPU) of the targeted device. When debugging projects on a device, only the target device registers are visible, for example the ARM registers. The ARM microprocessor has 16 general-purpose registers. THUMB has eight general-purpose registers, R0-R7, and access to the high registers, R8-R15. Note that registers R0 through R3 hold the first four words of incoming arguments. The microprocessor constructs remaining arguments in the calling function's argument build area, which does not provide space into which R0 through R3 can be spilled.

-

Three registers are best left for special uses. These are:

- -

In most cases, the contents of all the registers can be modified. However, when debugging applications on a target device with Application TRK, you cannot change the LR, SP, and CPSR registers.

-

NOTE When opening the Registers view, the list of available registers will vary depending upon the target devices being debugged.

-

-

Figure 1 - ARM Registers

-
Related concepts
- -
Related tasks
- -
Related references
- - - - - diff -r 2a6a8cc0b9a1 -r 4eae2726ff31 core/com.nokia.carbide.cpp.doc.user/html/concepts/fpu_registers.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/fpu_registers.htm Thu Aug 12 13:03:07 2010 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ - - - - - - -FPU Registers - - - -

FPU Registers

-

The FPU Registers are the register contents of the floating-point unit (FPU) of the host computer. The exact listing of these registers depends on the host FPU and current build target.

-
Related concepts
- -
Related tasks
- -
Related references
- - - - - diff -r 2a6a8cc0b9a1 -r 4eae2726ff31 core/com.nokia.carbide.cpp.doc.user/html/concepts/general_registers.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/general_registers.htm Thu Aug 12 13:03:07 2010 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ - - - - - - -General Registers - - - -

General Registers

-

The General Registers are the register contents of the central processing unit (CPU) of the host computer. The exact listing of these registers depends on the host CPU and current build target.

-
Related concepts
- -
Related tasks
- -
Related references
- - - - - diff -r 2a6a8cc0b9a1 -r 4eae2726ff31 core/com.nokia.carbide.cpp.doc.user/html/concepts/host_registers.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/host_registers.htm Thu Aug 12 13:03:07 2010 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ - - - - - - -Host Registers - - - -

Host-specific Registers

-

The Registers view also lists additional register contents for registers specific to the host. The exact listing of these registers depends on the host computer and current build target.

-
Related concepts
- -
Related tasks
- -
Related references
- - - - - diff -r 2a6a8cc0b9a1 -r 4eae2726ff31 core/com.nokia.carbide.cpp.doc.user/html/concepts/registers.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/registers.htm Thu Aug 12 13:03:07 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/registers.htm Thu Aug 12 13:56:20 2010 -0500 @@ -9,7 +9,13 @@

Registers

-

Registers are the register contents of the central processing unit (CPU) of the host computer or the targeted device. When debugging projects using the emulator, only the host computer x86 registers are visible in the Registers view. When debugging projects on a device, only the target device registers are visible.

+

Use the Registers view to view the general and specific registers central processing unit (CPU) of the host computer. The exact listing of these registers depends on the host CPU and current build target.

+ +

General registers

+

Registers are the register contents of the central processing unit (CPU) of the host computer or the targeted device. When debugging projects using the emulator, only the host computer x86 registers are visible in the Registers view. When debugging projects on a device, only the target device registers are visible.

In most cases, the contents of all the registers can be modified. However, when debugging applications on a target device with Application TRK, you cannot change the LR and SP registers.

Figure 1. Registers view with possible register types

@@ -22,6 +28,17 @@
  • host-specific—additional register contents for registers specific to the host (for example ARM registers)
  • NOTE When opening the Registers view, the list of available registers will vary depending upon the target devices being debugged.

    +

    ARM registers

    +

    The ARM microprocessor has 16 general-purpose registers. THUMB has eight general-purpose registers, R0-R7, and access to the high registers, R8-R15. Note that registers R0 through R3 hold the first four words of incoming arguments. The microprocessor constructs remaining arguments in the calling function's argument build area, which does not provide space into which R0 through R3 can be spilled.

    +

    Three registers are best left for special uses. These are:

    + +

    In most cases, the contents of all the registers can be modified. However, when debugging applications on a target device with Application TRK, you cannot change the LR, SP, and CPSR registers.

    +

    +

    Figure 2 - ARM Registers

    Other references