OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Apr 24, 2024 4:30 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: helloo programmers its about print hex and hex out function
PostPosted: Wed Apr 02, 2014 10:53 am 
Offline

Joined: Sun Mar 30, 2014 9:49 pm
Posts: 2
Location: himachal Pradesh(Dharamshala) Country INDIA
i can't understand the functionalty of the two function or subroutin hex out and print hex plz help me to understand what they are do and logic behind that i shall be thankfull


Top
 Profile  
 
 Post subject: Re: helloo programmers its about print hex and hex out funct
PostPosted: Wed Apr 02, 2014 11:41 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4594
Location: Chichester, UK
Well it sounds to me as if they print hexadecimal numbers, but that's surely too obvious to be true. I'm sure you wouldn't ask if it was that trivial.

What OS and/or programming language are you talking about and, more important, why do you ask?


Top
 Profile  
 
 Post subject: Re: helloo programmers its about print hex and hex out funct
PostPosted: Thu Apr 03, 2014 9:51 pm 
Offline

Joined: Sun Mar 30, 2014 9:49 pm
Posts: 2
Location: himachal Pradesh(Dharamshala) Country INDIA
hello iansjack well thanks for reply am talking about print hexadecimel number
lets take an example
in binary 16 bit programing
mov dx string
call hexout
string:
db '0x7f',0
how to print the define string in hexadecimel and its ascii code tell me this in 16 bit assembly on the screen


Top
 Profile  
 
 Post subject: Re: helloo programmers its about print hex and hex out funct
PostPosted: Fri Apr 04, 2014 12:02 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4594
Location: Chichester, UK
There is no standard "hexout" functionmin x86 assembler. You have to define your own. How you do that is a fairly simple exercise, but depends upon the environment that you are programming for. I would suggest that this sort of basic question is more suitable for other forums, or even a subject to be studied using a book on assembler programming, rather than here.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 113 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group