Next: , Previous: , Up: Debugging   [Contents][Index]

5.4 Examining CPU registers

The status of the CPU registers can be examined using the read-all-regs. Alternatively you can read the value of a single register with the command read-register.

> read-all-regs
 D0: 00
 D1: A1
 D2: 0000
 D3: 0000
 D4: 0000
 D5: 0000
 D6: 000090D5
 D7: 00000000
  X: 000000
  Y: 000000
 PC: FE0002
CCW: u----001SX-Inzvc

In this output, the notation of the CCW register (sometimes called the “status register” or “program status word”) is as follows: