home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 21710 < prev    next >
Encoding:
Text File  |  1993-01-22  |  608 b   |  25 lines

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!gatech!rpi!batcomputer!cornell!rochester!rit!whd0675
  3. From: whd0675@cs.rit.edu (Walter H Dick, III)
  4. Subject: VAXC divide problems (V3.2)
  5. Message-ID: <1993Jan22.060311.5226@cs.rit.edu>
  6. Sender: news@cs.rit.edu
  7. Nntp-Posting-Host: cobalt
  8. Organization: Rochester Institute of Technology, Rochester, NY
  9. Date: Fri, 22 Jan 1993 06:03:11 GMT
  10. Lines: 13
  11.  
  12. A statement in VAXC such as:
  13.  
  14.    i = (x + 511) / 512;
  15.  
  16. generates ten or so instructions.  Is there anyway to get it to generate:
  17.  
  18.    ADDL3  #511,x,R0
  19.    DIVL3  R0,#512,i
  20.  
  21. Thanks in advance!
  22.  
  23. Walter Dick
  24. whd0675@cs.rit.edu
  25.