Good catch! I've actually not looked at the instruction help screens, so I never noticed that before. Now you've got me perusing the help screens.
While on the subject, the DEA and INA mnemonics (decrement and increment the accumulator, respectively) cannot be used when assembling for the 65C816. Instead, DEC and INC must be used without an operand. The help screens for DEA and INA incorrectly say they are usable when assembling for the 816.
Also noted, the help screens for PEI and PER contain the same text as the help screen for PEA.
BTW, it's better to refer to the direct page register as DP than D. Similarly, the data bank register is best referred to as DB and the program bank as PB (not K). The program counter would be PC, the status register SR and the stack pointer as SP. The problem with using single-letter names for registers other than the accumulator and index registers is it's too easy to mistake single-letter names for other things. For instance, D could refer to the decimal mode bit in SR. Similarly, is P referring to the stack pointer or the status register ("P" isn't even in the latter's name)?
Using DBR and PBR to refer to the data bank and program bank (respectively) could look too much like mnemonics to someone not familiar with the 65C816's instruction set.
In Supermon 816, a register dump would displayed as follows (using made-up values):
Code: Select all
PB PC NVmxDIZC .C .X .Y SP DP DB
; 00 204C 00110000 000A 0000 0050 BFFF 0000 00Two-character register names in commentary tend to eliminate ambiguity and make it possible to refer to the bits in SR without causing confusion to the reader.