home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- Path: sparky!uunet!gatech!rpi!batcomputer!cornell!rochester!rit!whd0675
- From: whd0675@cs.rit.edu (Walter H Dick, III)
- Subject: VAXC divide problems (V3.2)
- Message-ID: <1993Jan22.060311.5226@cs.rit.edu>
- Sender: news@cs.rit.edu
- Nntp-Posting-Host: cobalt
- Organization: Rochester Institute of Technology, Rochester, NY
- Date: Fri, 22 Jan 1993 06:03:11 GMT
- Lines: 13
-
- A statement in VAXC such as:
-
- i = (x + 511) / 512;
-
- generates ten or so instructions. Is there anyway to get it to generate:
-
- ADDL3 #511,x,R0
- DIVL3 R0,#512,i
-
- Thanks in advance!
-
- Walter Dick
- whd0675@cs.rit.edu
-