home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!news.unomaha.edu!cwis.unomaha.edu!rfulk
- From: rfulk@cwis.unomaha.edu (Bob Fulkerson)
- Subject: TPW1.0 Hex Numbers ...
- Message-ID: <1992Nov23.014347.2642@news.unomaha.edu>
- Sender: news@news.unomaha.edu (UNO Network News Server)
- Organization: University of Nebraska at Omaha
- Date: Mon, 23 Nov 1992 01:43:47 GMT
- Lines: 21
-
- Okay, so perhaps I'm missing something. I'm writing a 2-pass Assembler
- for my Systems Programming class, and our output involves writing out
- Hexadecimal numbers.
-
- I realize that $1000 will _internally_ represent the hex number and will
- allow me to easily increment the hex number .... i.e. $1000 + ($3*3) or
- whatever.
-
- Is there an easy way that I may have missed to output that hexidecimal
- number to the screen _as_ a hex number? Probably not.
-
- Is there an easy conversion routine that I could be missing (most
- likely) from integer to hex for output?
-
- Thanks in advance,
- Robert Fulkerson
- --
- ---------------------------------------------------------------------------.
- Robert Fulkerson, Creighton University . Vice-President, Assoc Comp Mach .
- rfulk@creighton.edu . Creighton University ACM .
- ---------------------------------------------------------------------------.
-