abcd

Add decimal with extend

Adds two packed binary-coded-decimal bytes together with the extend flag.

Size .b

XNZVC ●–●–●
  • ● set from the result
  • – not changed
  • Reads X

Forms

  • abcd ,
  • abcd ,

Operands

Dn
A data register, d0 to d7. More
-(An)
The simulator first decreases the address register by the operation’s size in bytes, then accesses memory at the new address, for example -(sp). More