I’ve been revising the programming of the Motorola 68000 lately. Admittedly, when I took the course, I just did what I had to take (and he had a terrible professor) ... but NOW I'm really interested in that. In any case, looking at my old tutorial Microprocessor 68000 from James L. Antonakos , he uses the following code:
ORG $8000 HMSG DC.B 'Hello!' DC.B 0 ORG #8100 START MOVEA.L #HMSG,A3 TRAP #3 TRAP #9 END START
This will not compile in Easy68k , but in the book ASM68K refers to . When I changed the code to this, it worked.
ORG $1000 HSMG DC.B 'Hello!',0 START LEA HSMG,A1 MOVE #14,D0 TRAP #15 END START
- ? - ? , TRAP #15 - D0 , 68000 ?
TRAP #15
!
TRAP , - . 68000 . , , , (, , ..), .
TRAP
(, Atari ST TRAP , , , . . , Mac OS "" TRAP , .)
68000 16 ( /), , . BIOS/, Amiga, Atari ST .. , TRAP 15 Easy68k http://www.easy68k.com/files/EASy68KQuickRef.pdf.