A92: The trap funtion


[Prev][Next][Index][Thread]

A92: The trap funtion




I am trying to learn asm for the 68000, and dont have any previous asm
experience. I have read Jimmy's Guide, and Newbies.txt, which were both
very helpful. There are however some things that wernt explained.

I have been trying to understand the sprite test prgm.

**********
_main
    move.w #$0700,d0
    trap #1

**********
What does the trap do. I have looked at Jimmys guide, and he says that
you can use 16 different vectors. (i'm guessing #1 - #16 or #$1 - #$1F
yes?) But he fails to say what these vectors do exactly. Can someone
explain at least what #1 does?


                        -Will Shaver



Follow-Ups: