home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!news.tek.com!uw-beaver!cs.ubc.ca!destroyer!caen!uwm.edu!spool.mu.edu!umn.edu!guppy!schwamb
- From: schwamb@guppy.micro.umn.edu (Peter William Schwamb)
- Subject: Re: New assembly programmer, need help, Why wouldn't this work?
- Message-ID: <1992Nov13.163636.639@news2.cis.umn.edu>
- Sender: news@news2.cis.umn.edu (Usenet News Administration)
- Nntp-Posting-Host: guppy.micro.umn.edu
- Organization: University of Minnesota, Minneapolis: Under Grad Workstation Lab.
- References: <1992Nov13.060036.166761@zeus.calpoly.edu>
- Date: Fri, 13 Nov 1992 16:36:36 GMT
- Lines: 34
-
- In <1992Nov13.060036.166761@zeus.calpoly.edu> clin@zeus.calpoly.edu (Chihtsung Jeffrey Lin) writes:
-
- >Hi,
-
- >I've just started taking a 68000 assembly language class. We do our class
- >works on Macs. Recently I've tried to do some assembly programming on my
- >Amiga but have not idea how to do it. I've tried some simple programs that
- >worked on the Macs assembler we use for our class, but none of them seems
- >to work. I have an A3000, and I've used A68K and asm for SAS C. The linker I
- >use is blink. Here's one I tried.
-
- >
- >start: move.w #5,d0
-
- > end
-
-
- >It seems to assemble and bind ok, but when I try to run it from CLI, it
- >gives me a Software Failure window, error #8000000B of #80000004. I know
- >that's silly program but I don't see any harm in doing that either. Are
- >there specific codes that are need for an Amiga program? (I did put a csect
- >directive for asm, btw). Oh yeah, I bound it with amiga.lib and lc.lib even
- >though I don't see any reason to.
-
- >Any hint/ clue is appreciated.
-
- >Jeff :)
-
- At the end of all your programs, you should have an rts to return from
- your program, otherwise it the processor just keeps running off the end
- of your program, probably through garbage.
-
-
- Pete Schwamb schwamb@mermaid.micro.umn.edu
-