home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / cray / 252 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  838 b 

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!bionet!agate!paris.CS.Berkeley.EDU!luigi
  2. From: luigi@paris.CS.Berkeley.EDU (Luigi Semenzato)
  3. Newsgroups: comp.unix.cray
  4. Subject: Re: getting value of B02 from C
  5. Message-ID: <17j4rmINNn8u@agate.berkeley.edu>
  6. Date: 27 Aug 92 17:53:58 GMT
  7. References: <17h7riINNdki@agate.berkeley.edu>
  8. Organization: University of California, Berkeley
  9. Lines: 17
  10. NNTP-Posting-Host: paris.cs.berkeley.edu
  11.  
  12. Thanks to jjd@teak.cray.com, and others, for the following simple
  13. solution:
  14.  
  15.          IDENT     GETB02
  16.          ENTRY     GETB02
  17.  
  18.          SECTION   CODE
  19.  
  20. GETB02   ENTER     NP=0,MODE=BASELVL
  21.          A5        B02
  22.          S1        A5
  23.          EXIT      MODE=BASELVL
  24.  
  25.          END
  26.  
  27. This routine can never cause a stack overflow (it never uses
  28. the stack at all), so my fears where unfounded.  --Luigi
  29.