GIDForums  

Go Back   GIDForums > Computer Programming Forums > Assembly Language
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 16-Dec-2008, 13:34
iblink iblink is offline
New Member
 
Join Date: Nov 2006
Posts: 23
iblink has a little shameless behaviour in the past
Question

Binary to Hexadecimal convertion


Hello,
I am working on a Microprocessor project. but i am stuck coming up with an assembly code to convert 8 bit binary to hex. can someone please help me with the assembly code .. thank you
  #2  
Old 16-Dec-2008, 16:20
Howard_L Howard_L is offline
Regular Member
 
Join Date: Apr 2007
Location: Maryland/PA, USA
Posts: 803
Howard_L is a jewel in the roughHoward_L is a jewel in the roughHoward_L is a jewel in the rough

Re: Binary to Hexadecimal convertion


Do you mean you need to print 2 digit hex values (1 byte) to stdio?
What OS/compiler...
If you have something started? Post it.
Exactly what do you want to convert from?
  #3  
Old 16-Dec-2008, 16:27
iblink iblink is offline
New Member
 
Join Date: Nov 2006
Posts: 23
iblink has a little shameless behaviour in the past

Re: Binary to Hexadecimal convertion


right now i am using the old Microsoft MS DOS QBASIC. it is required for the project.
  #4  
Old 16-Dec-2008, 19:17
Howard_L Howard_L is offline
Regular Member
 
Join Date: Apr 2007
Location: Maryland/PA, USA
Posts: 803
Howard_L is a jewel in the roughHoward_L is a jewel in the roughHoward_L is a jewel in the rough

Re: Binary to Hexadecimal convertion


...and?
Can you write code to write a character on the screen?
 
 

Recent GIDBlogAccepted for Ph.D. program by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New to programming (Homework Help) fishguts Miscellaneous Programming Forum 1 12-Sep-2007 11:50
Binary to Decimal Conversion Saberwing C Programming Language 5 28-Dec-2006 15:57
Re: Conversion: Binary, Decimal, Hexadecimal WaltP C Programming Language 1 10-May-2006 07:49
how to convert binary file to hexadecimal file? banur22 C++ Forum 6 29-Apr-2005 08:27

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 20:32.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.