Hello all. This past semester I took assembly programming. The programs in class were done on windwos machines and now I am trying to write some assembly on my linux machine, which has an intel 64bit processor. I am having a problem converting integers to ascii for output. I am using the same routine we used in my class which adds 30h to each digit and store it in a string but I am not getting the approptiate output. The number I am trying to output is 15 but I get D and a small black circle with a white question mark insid it. Does anyone know what is causing this? Is it an issue with using 64bit processor or is it an encoding issue in linux?
jt_murphree
24
Light Poster
Recommended Answers
Jump to PostI'd guess your code.
Get better information by posting your actual code.
Jump to Postan intel 64bit processor
Do you mean an actual 64 bit CPU? Like an Itanium? Or do you mean a normal x86 CPU with the EMT64 extensions?
All 7 Replies
Salem
5,138
Posting Sage
jbennet
1,618
Most Valuable Poster
Team Colleague
Featured Poster
jt_murphree
24
Light Poster
jbennet
1,618
Most Valuable Poster
Team Colleague
Featured Poster
jt_murphree
24
Light Poster
jt_murphree
24
Light Poster
jt_murphree
24
Light Poster
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.