home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15816 < prev    next >
Encoding:
Text File  |  1992-11-14  |  1.8 KB  |  47 lines

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