|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
68k dec to hex conversion
Hi....
Any hints on converting a decimal number to multi-digit hex? Any help would be greatly appreciated. |
|
#2
|
||||
|
||||
|
Divide by 16.
--Simon
__________________
|
|
#3
|
|||
|
|||
|
How can I combine this in terms of converting this into a printable multi-digit hex string???
ie. 12=$0B 16=$10 ETC....???? |
|
#4
|
||||
|
||||
|
See this previous post for the general algorithms for converting strings to binary and vice versa. You'll want to make sure that you have a string buffer large enough to hold the result. HTH, C&CW.
__________________
Rev First Speaker Schol-R-LEA;2 JAM LCF ELF KoR KCO BiWM TGIF #define KINSEY (rand() % 7) λ Scheme is the Red Pill Scheme in Short • Understanding the C/C++ Preprocessor Taming Python • A Highly Opinionated Review of Programming Languages for the Novice, v1.1 FOR SALE: One ShapeSystem 2300 CMD, extensively modified for human use. Includes s/w for anthro, transgender, sex-appeal enhance, & Gillian Anderson and Jason D. Poit clone forms. Some wear. $4500 obo. tverres@et.ins.gov Last edited by Schol-R-LEA : May 14th, 2006 at 05:04 PM. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Other Programming Languages > 68k dec to hex conversion |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|