Atari Logo
Atari Computer

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

Assembler

Previous Next TOC

NAME TRAPcc -- Conditional trap (68020+)
SYNOPSIS
TRAPcc
TRAPcc.w#<data>
TRAPcc.l#<data>
FUNCTION If "cc CONDITION" is true then there's generation of a level 7 exception, else execution continue normally. Immediate data is optional, if given, the exception sub-routine can use it.

Condition code 'cc' specifies one of the following:
0000 F FalseZ = 11000 VC oVerflow ClearV = 0
0001 T TrueZ = 01001 VS oVerflow SetV = 1
0010 HI HIghC + Z = 01010 PL PLusN = 0
0011 LS Low or SameC + Z = 11011 MI MInusN = 1
0100 CC Carry ClearC = 01100 GE Greater or EqualN (+) V = 0
0101 CS Carry SetC = 11101 LT Less ThanN (+) V = 1
0110 NE Not EqualZ = 01110 GT Greater ThanZ + (N (+) V) = 0
0111 EQ EQualZ = 11111 LE Less or EqualZ + (N (+) V) = 1

FORMAT
1514131211109876543210
0101cc CONDITION11111OP-MODE
OPTIONAL 16 BITS IMMEDIATE DATA
OPTIONAL 32 BITS IMMEDIATE DATA
OP-MODE
010->instruction followed of 16 bits.
011->instruction followed of 32 bits.
100->instruction with no immediate operand.
RESULT None.


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