🡄 Previous

Next 🡆

Contents > General-purpose Computer > Assembly Language

Registers

The following table lists the user-accessible registers, those available to assembly language instructions.

RegisterNameBitsDescription
AAccumulator8Input and lone output of all arithmetic and logic instructions.
BData Register8Input of some arithmetic and logic instructions.
MNMemory Register16Source address of load instructions and the destination address of store instructions. The 8-bit M and N registers contain its high and low bytes, respectively.
PProgram Counter16Address of the instruction to execute next.
RReturn Register16Address of the instruction to return to at the end of a subroutine.
nNegative Flag1Indicates an arithmetic, logic, or load instruction produced a negatively signed value.
zZero Flag1Indicates an arithmetic, logic, or load instruction produced zero.

Note: There is no carry flag, nor an overflow flag.

🡄 Previous

Next 🡆