Registers

Syntax

[[@]]register

A register name represents the current value stored in the register. Table R.1 summarizes the register names known to the CodeView debugger.

Table R.1 Register Names

Register Type Register Names

8-bit high byte AH, BH, CH, DH
8-bit low byte AL, BL, CL, DL
16-bit general purpose AX, BX, CX, DX
16-bit segment CS, DS, SS, ES
16-bit pointer SP, BP, IP
16-bit index SI, DI
16-bit high word* TH
16-bit low word* TL
Quoting* PQ
32-bit general purpose† EAX, EBX, ECX, EDX
32-bit pointer† ESP, EBP
32-bit index† ESI, EDI

* Available only when debugging p-code

† Available only when 386 option turned on

To force a symbol to represent a register, prefix the symbol with an at sign (@). For example, to make AX represent a register rather than a variable, use @AX.