register [ register-number [ [ , ] register-number ] ]The current values stored in memory locations or registers can be displayed using the "register" and "memory" commands. Both of these commands take two arguments specifying the range of values to be displayed. For example, the command
memory word-address [ [ , ] word-address ]
register D0,D4would cause the debugger to display the values of registers D0 through D4. The second argument may be omitted when issuing either of these commands. In this case the single register or memory cell indicated by the first argument is displayed. When using the register command, both arguments may be omitted in which case the values of all registers will be displayed.
Valid register names include D0 through D7, A0 through A7, SP ( another name for A7), FP (another name for A6) and GP (another name for A5), PC (the program counter), CCR (the condition code register) and PS ( the Processor Status register on the WC34020).