home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / pascal / 6820 < prev    next >
Encoding:
Text File  |  1992-11-22  |  1.3 KB  |  32 lines

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