Atari Logo
Atari Computer

Hauptseite -
Welches System? -
Hardware -
Software -
Emulatoren -
Internet
MausNet
Programmieren
Verweise
Über

Assembler

Previous Next TOC


NAME NBCD -- Negate binary coded decimal with extend
SYNOPSIS
NBCD<ea>
Size = (Byte)
FUNCTION The specified BCD number and the extend bit are subtracted from zero. Therefore, if the extend bit is set a nines complement is performed, else a tens complement is performed. The result is placed back in the specified <ea>.
It can be useful to set the zero flag before performing this operation so that multi precision operations can be correctly tested for zero.
FORMAT
1514131211109876543210
0100100000MODEREGISTER
 <ea>
RESULT
X-Set the same as the carry bit.
N-Undefined.
Z-Cleared it the result is non-zero, unchanged otherwise.
V-Undefined.
C-Set if a borrow was generated, cleared otherwise.
Best viewed with any browser English version not yet available.

Änderungen und Irrtümer vorbehalten. Letzte Änderung:
14 September 2001.
Home - Mail an den Webmaster - Impressum