R - Set or Display Current CPU Registers

Display or set the current CPU registers saved on entry to the Kernel Debugger. Set default addresses for E command, D command, K command and U command.

Under the Dump Formatter this command is implemented as an alias to the .R command. Also applicable to the Dump Formatter only, the default adressing mode is not set according to the VM flags of the EFLAGS register but is assumed always to be in protect mode. This has been corrected from fix pack 29 of Wapr 3.0 and base Warp 4.0.

The remaining discussion in the section applies to the Kernel Debugger.

Syntax:


──── R ───┬─────────────────────┬──────────────────────────────
            │                     │
            ├── T               ──┤
            │                     │
            ├─┤ flag register   ├─┤
            │                     │
            ├─┤ 2-bit flag      ├─┤
            │                     │
            ├─┤ 16-bit register ├─┤
            │                     │
            └─┤ 32-bit register ├─┘

flag register:


             ┌─────────────────────────┐
                                      │
├─┬─ F  ─┬─────┬────────────────────┬──┴──────────────────────────┤
  ├─ EF ─┘     └── flag mnemonics ──┘
  │
  │          ┌─────────────────────────────┐
  │                                       │
  ├─ CR0 ──────┬────────────────────────┬──┴──────────────────────┤
  │            └── cr0 flag mnemonics ──┘
  │          ┌─────────────────────────────┐
  │                                       │
  └─ MSW ──────┬────────────────────────┬──┴──────────────────────┤
               └── msw flag mnemonics ──┘

2-bit flag:

├─── IOPL ─┬──────┬───────────────────────────────────────────────┤
           └─ pl ─┘


16-bit register:

├──┬─ AX   ─┬─────┬──────────────────┬────────────────────────────┤
   ├─ BX   ─┤     │                  │
   ├─ CX   ─┤     └── 16-bit value ──┘
   ├─ DX   ─┤
   ├─ SI   ─┤
   ├─ DI   ─┤
   ├─ SP   ─┤
   ├─ BP   ─┤
   ├─ IP   ─┤
   ├─ PC   ─┤
   ├─ ES   ─┤
   ├─ CS   ─┤
   ├─ DS   ─┤
   ├─ SS   ─┤
   ├─ FS   ─┤
   ├─ GS   ─┤
   ├─ TR   ─┤
   ├─ IDTL ─┤
   ├─ GDTL ─┤
   └─ LDTR ─┘



32-bit register:

├──┬─ EAX  ─┬─────┬──────────────────┬────────────────────────────┤
   ├─ EBX  ─┤     │                  │
   ├─ ECX  ─┤     └── 32-bit value ──┘
   ├─ EDX  ─┤
   ├─ ESI  ─┤
   ├─ EDI  ─┤
   ├─ ESP  ─┤
   ├─ EBP  ─┤
   ├─ EIP  ─┤
   ├─ CR2  ─┤
   ├─ CR3  ─┤
   ├─ CR4  ─┤
   ├─ DR0  ─┤
   ├─ DR1  ─┤
   ├─ DR2  ─┤
   ├─ DR3  ─┤
   ├─ DR6  ─┤
   ├─ DR7  ─┤
   ├─ TR6  ─┤
   ├─ TR7  ─┤
   ├─ IDTB ─┤
   └─ GDTB ─┘


Parameters: