Motorola CPU32 User Manual Page 292

  • Download
  • Add to my manuals
  • Print
  • Page
    / 646
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 291
Integer Instructions
4-188 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA
TRAP Trap TRAP
(M68000 Family)
Operation: 1 S-Bit of SR
*SSP – 2 SSP; Format/Offset (SSP);
SSP – 4 SSP; PC (SSP); SSP – 2 SSP;
SR (SSP); Vector Address PC
*The MC68000 and MC68008 do not write vector offset or
format code to the system stack.
Assembler
Syntax: TRAP # < vector >
Attributes: Unsized
Description: Causes a TRAP # < vector > exception. The instruction adds the immediate
operand (vector) of the instruction to 32 to obtain the vector number. The range of
vector values is 0 – 15, which provides 16 vectors.
Condition Codes:
Not affected.
Instruction Format:
Instruction Fields:
Vector field—Specifies the trap vector to be taken.
1514131211109876543210
010011100100 VECTOR
Page view 291
1 2 ... 287 288 289 290 291 292 293 294 295 296 297 ... 645 646

Comments to this Manuals

No comments