Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi guys, Thank you for your help

Status
Not open for further replies.

shussai2

Programmer
Aug 28, 2003
42
CA
Hi guys,

Thank you for your help last time. I am stuck on one more problem here. I want to convert an integer into 8-bit binary format and then show that 8-bit binary on the screen. So for example suppose I want to convert integer 7:

Integer ------ 7
8-binary --- 0000 0111

Display on screen ---- 0000 0111

Please let me know if there exist a command to do so.

Regards,

Sajjad
 
Binary Conversion??


Hi guys,

Sorry for repeating the same message but I forgot about the title. Bear with me, this is my second time posting anything. I am stuck on one more problem here. I want to convert an integer into 8-bit binary format and then show that 8-bit binary on the screen. So for example suppose I want to convert integer 7:

Integer ------ 7
8-binary --- 0000 0111

Display on screen ---- 0000 0111

Please let me know if there exist a command to do so.

Regards,

Sajjad
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top