Atari Logo
Atari Computer

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

Assembler

Previous Next TOC

NAME ADDQ -- Add 3-bit immediate quick
SYNOPSIS #<data>,<ea>
Size = Byte, Word, Long
FUNCTION Adds the immediate value of 1 to 8 to the operand at the destination location. The size of the operation may be specified as byte, word, or long. When adding to address registers, the condition codes are not altered, and the entire destination address register is used regardless of the operation size.
FORMAT
1514131211109876543210
0101DATA0SIZEMODEREGISTER
 <ea>
DATA
000->represent value 8
001 to 111->immediate data from 1 to 7
SIZE
00->one Byte operation
01->one Word operation
10->one Long operation
REGISTER <ea> is always destination, addressing modes are the following:
Addressing ModeModeRegister
Dn000No reg. Dn
An *001No reg. An
(An)010No reg. An
(An)+011No reg. An
-(An)100No reg. An
(d16,An)101No reg. An
(d8,An,Xi)110No reg. An
(bd,An,Xi)110No reg. An
([bd,An,Xi]od)110No reg. An
([bd,An],Xi,od)110No reg. An
Addressing ModeModeRegister
Abs.W111000
Abs.L111001
(d16,PC)--
(d8,PC,Xi)--
(bd,PC,Xi)--
([bd,PC,Xi],od)--
([bd,PC],Xi,od)--
#data--
* Word or Long only.
RESULT
X-Set the same as the carry bit.
N-Set if the result is negative. Cleared otherwise.
Z-Set if the result is zero. Cleared otherwise.
V-Set if an overflow is generated. Cleared otherwise.
C-Set if a carry is 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