home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / hp48 / 7344 < prev    next >
Encoding:
Text File  |  1993-01-24  |  859 b   |  36 lines

  1. Newsgroups: comp.sys.hp48
  2. Path: sparky!uunet!wupost!eclnews!sara!kevin
  3. From: kevin@sara.wustl.edu (Kevin Ruland)
  4. Subject: What's the proper way to use EQU in RPL48?
  5. Message-ID: <1993Jan25.015507.5200@wuecl.wustl.edu>
  6. Sender: usenet@wuecl.wustl.edu (News Administrator)
  7. Nntp-Posting-Host: sara
  8. Organization: Center for Optimization and Semantic Control, Washington University
  9. Date: Mon, 25 Jan 1993 01:55:07 GMT
  10. Lines: 24
  11.  
  12. I've been using the ASSEMBLE and RPL commands to block of EQU statements.
  13. For example, the header file S.H is:
  14. ::
  15. ASSEMBLE
  16. @one    EQU    =1GETLAM
  17. !one    EQU    =1PUTLAM
  18. RPL
  19. ;
  20.  
  21. Then including them in my sysRPL programs with:
  22.  
  23. ::
  24.  CK0
  25.  INCLUDE S.H
  26.  <more programs>
  27. ;
  28.  
  29. Is this the correct way?  Is is possible to 'pre-assemble' the headerfile
  30. so the compiler doesn't need to do it again for every program?
  31.  
  32. Thanks
  33.  
  34. Kevin Ruland
  35. kevin@rodin.wustl.edu
  36.