home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / acorn / tech / 1108 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  832 b 

  1. Path: sparky!uunet!comp.vuw.ac.nz!newshost.wcc.govt.nz!kosmos.wcc.govt.nz!mckay_g
  2. From: mckay_g@kosmos.wcc.govt.nz
  3. Newsgroups: comp.sys.acorn.tech
  4. Subject: Re: ObjAsm: Conditional includes
  5. Date: 20 Dec 92 18:42:24 NZST
  6. Organization: Welligton City Council, Public Access.
  7. Lines: 27
  8. Message-ID: <1992Dec20.184224.1@kosmos.wcc.govt.nz>
  9. References: <1992Dec14.123731.3037@ugle.unit.no> <BzGJuu.2Dy@dcs.ed.ac.uk>
  10. NNTP-Posting-Host: kosmos.wcc.govt.nz
  11.  
  12. If you want to do conditional includes in objasm/aasm you need to do someting
  13. like the following (can't be too sure if the is exactly right because my
  14. manuals are on the other side of the world!)
  15.  
  16.  
  17. ; File to define register names
  18.  
  19.    [ :NOT::DEF:regs
  20.  
  21.    GBLL regs
  22.  
  23.  
  24. r0 RN  0
  25. r1 RN  1
  26.     .
  27.     :
  28.  
  29. ;  <stuff to include>
  30.  
  31.    ]
  32.  
  33.    END
  34.  
  35. I seem to recall that this does the trick.
  36.  
  37. Rob
  38.  
  39.