helloo programmers its about print hex and hex out function
-
- Posts: 2
- Joined: Sun Mar 30, 2014 9:49 pm
- Location: himachal Pradesh(Dharamshala) Country INDIA
helloo programmers its about print hex and hex out function
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
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?
What OS and/or programming language are you talking about and, more important, why do you ask?
-
- Posts: 2
- Joined: Sun Mar 30, 2014 9:49 pm
- Location: himachal Pradesh(Dharamshala) Country INDIA
Re: helloo programmers its about print hex and hex out funct
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
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
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.