Motorola CPU32 Bedienungsanleitung Seite 293

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 646
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 292
Integer Instructions
MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-189
TRAPcc Trap on Condition TRAPcc
(MC68020, MC68030, MC68040, CPU32)
Operation: If cc
Then TRAP
Assembler TRAPcc
Syntax: TRAPcc.W # < data >
TRAPcc.L # < data >
Attributes: Unsized or Size = (Word, Long)
Description: If the specified condition is true, causes a TRAPcc exception with a vector
number 7. The processor pushes the address of the next instruction word (currently in
the program counter) onto the stack. If the condition is not true, the processor performs
no operation, and execution continues with the next instruction. The immediate data
operand should be placed in the next word(s) following the operation word and is
available to the trap handler. Condition code cc specifies one of the following
conditional tests (refer to Table 3-19 for more information on these conditional tests):
Condition Codes:
Not affected.
Mnemonic Condition Mnemonic Condition
CC(HI) Carry Clear LS Low or Same
CS(LO) Carry Set LT Less Than
EQ Equal MI Minus
F False NE Not Equal
GE Greater or Equal PL Plus
GT Greater Than T True
HI High VC Overflow Clear
LE Less or Equal VS Overflow Set
Seitenansicht 292
1 2 ... 288 289 290 291 292 293 294 295 296 297 298 ... 645 646

Kommentare zu diesen Handbüchern

Keine Kommentare