i add two numbers but wen it cums to displaying the res by using service 2 of int21,,,,i get the res in hes,,i want same in dec,,,i meam like add 02,01 dispalys a res which stands for heart symbol so that i get a heratsymbol as a res instead of getting 3,,plz help..its got over my nerves now
zafirah_bashir
0
Newbie Poster
Recommended Answers
Jump to PostMOV AL, 2 ; AL = 2
ADD AL, 1 ; AL = 3
RETWhat is your problem with that?
Jump to PostThis is because when you output the value 03 to the screen using
AH=02h of INT 21h it will write it to text mode memory,
when this is done it will display the associated ASCII character,
which for 03 is the Heart symbol.
It seems you would like to display …
All 5 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
yuvaraj.tr
-3
Newbie Poster
NotNull
23
Posting Whiz in Training
NotNull
23
Posting Whiz in Training
NotNull
23
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.