- #1
dk702
- 6
- 0
I have been trying to convert a from octal to hex and hex to octal without using binary. I believe the method is called repeated divison.
Example of problem I am trying to solve,
Convert 173 octal(123 dec) to hex
173 oct / 16 oct = 10 oct remainder 13 oct
10 oct / 16 oct = 0 oct remainder 10 oct
Reading up (1st division remainder is less sig. digit, and last is most sig.)
answer 1013 hex = 4115 dec. WRONG
answer should be 7B Hex
Example of problem I am trying to solve,
Convert 173 octal(123 dec) to hex
173 oct / 16 oct = 10 oct remainder 13 oct
10 oct / 16 oct = 0 oct remainder 10 oct
Reading up (1st division remainder is less sig. digit, and last is most sig.)
answer 1013 hex = 4115 dec. WRONG
answer should be 7B Hex