home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18289 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  1.3 KB

  1. Path: sparky!uunet!pipex!warwick!uknet!newcastle.ac.uk!newton!n03ma
  2. From: D.J.Miller@newcastle.ac.uk (Dave Miller)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Assembler help needed
  5. Message-ID: <C0HMzp.Dsv@newcastle.ac.uk>
  6. Date: 7 Jan 93 14:31:01 GMT
  7. Organization: Computing Laboratory, U of Newcastle upon Tyne, UK NE1 7RU.
  8. Lines: 32
  9. Nntp-Posting-Host: newton
  10.  
  11.  
  12.  
  13. Greetings :)
  14.  
  15.   having just bought Stefan Ditrich's book 'Amiga Assembly Language' (or whatever it's called), I'm a bit miffed at his constant use of AssemPro. Throughout the entire book he make use of macros and commands which appear unique to this assembler. For example in an intuition based program which shows off gadgets/menus/windows etc....there is use made of a command:
  16.  
  17.     blk.w  500
  18.  
  19. and two macros
  20.  
  21.      INIT_AMIGA
  22.     EXIT_AMIGA
  23.  
  24. blk appears in various forms throughout the text (blk 9,0 being another one)
  25.  
  26. has anyone got any idea what these are on about so I can set about replacing them with code that Devpac2 and/or A68k will understand. 
  27.  
  28. I'm assuming that blk is some fancy version of the link command as it is used to reserve stack space for menus (according to the comments) however, direct substitution causes a crash.
  29.  
  30. any help would be appreciated,
  31.  
  32. cheers
  33.  
  34. dave
  35.  
  36.  
  37. University of Newcastle upon Tyne
  38. England
  39. NE1 7RU
  40.  
  41.  
  42. d.j.miller@newcastle.ac.uk
  43.