Hey guys, how can I add two numbers stored in asciiz format ?
str1 db "2",0
str2 db "3",0
thx.
MaxDev
0
Newbie Poster
Recommended Answers
Jump to PostYou mean to end up with the equivalent of
str3 db "23",0
?Do you first know how to copy a string (in C, this is strcpy)
strcat is basically just strcpy called twice, the second starting at the end of the first copy.
All 4 Replies
Reply to this topic
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.