Atari Logo
Atari Computer

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

Assembler

Previous Next TOC

NAME CLR -- Clear
SYNOPSIS
CLR<ea>
Size = (Byte, Word, Long)
FUNCTION Clears the destination operand to zero.
On an MC68000 and MC68HC000, a CLR instruction does both a read and a write to the destination. Because of this, this instruction should never be used on custom chip registers.
FORMAT
1514131211109876543210
01000010SIZEMODEREGISTER
 <ea>
REGISTER <ea> specifies destination operand, addressing modes allowed are:
Addressing ModeModeRegister
Dn000No reg. Dn
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--
SIZE
00->one Byte operation
01->one Word operation
10->one Long operation
RESULT
X-Not affected
N-Always cleared
Z-Always set
V-Always cleared
C-Always cleared


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