Page 1 of 1

helloo programmers its about print hex and hex out function

Posted: Wed Apr 02, 2014 10:53 am
by akshay
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

Re: helloo programmers its about print hex and hex out funct

Posted: Wed Apr 02, 2014 11:41 am
by iansjack
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?

Re: helloo programmers its about print hex and hex out funct

Posted: Thu Apr 03, 2014 9:51 pm
by akshay
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

Re: helloo programmers its about print hex and hex out funct

Posted: Fri Apr 04, 2014 12:02 am
by iansjack
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.