home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15783 < prev    next >
Encoding:
Internet Message Format  |  1992-11-13  |  1.3 KB

  1. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!spool.mu.edu!uwm.edu!cs.utexas.edu!usc!nic.csu.net!koko.csustan.edu!rat!zeus!clin
  2. Newsgroups: comp.sys.amiga.programmer
  3. Subject: New assembly programmer, need help, Why wouldn't this work?
  4. Message-ID: <1992Nov13.060036.166761@zeus.calpoly.edu>
  5. From: clin@zeus.calpoly.edu (Chihtsung Jeffrey Lin)
  6. Date: Fri, 13 Nov 1992 06:00:36 GMT
  7. Organization: California Polytechnic State University, San Luis Obispo
  8. Lines: 25
  9.  
  10. Hi, 
  11.  
  12. I've just started taking a 68000 assembly language class. We do our class
  13. works on Macs. Recently I've tried to do some assembly programming on my
  14. Amiga but have not idea how to do it. I've tried some simple programs that
  15. worked on the Macs assembler we use for our class, but none of them seems
  16. to work. I have an A3000, and I've used A68K and asm for SAS C. The linker I
  17. use is blink. Here's one I tried.
  18.  
  19.         
  20. start:        move.w    #5,d0
  21.  
  22.                 end
  23.  
  24.  
  25. It seems to assemble and bind ok, but when I try to run it from CLI, it
  26. gives me a Software Failure window, error #8000000B of #80000004. I know
  27. that's silly program but I don't see any harm in doing that either. Are
  28. there specific codes that are need for an Amiga program? (I did put a csect
  29. directive for asm, btw). Oh yeah, I bound it with amiga.lib and lc.lib even
  30. though I don't see any reason to. 
  31.  
  32. Any hint/ clue is appreciated.
  33.  
  34. Jeff :)
  35.