matticus1181 - 8:48 pm on Dec 2, 2007 (gmt 0) Am I going about this in the right way? Does anyone have any suggestions? Thanks in advance!
I'm taking a class in sparc assembly, and I'm having a hard time with this concept. We're supposed to add two numbers together that can have as many as 100 digits. Since this is too many to fit into one register, I have to save them in memory and then deal with them. This is the part that I can't figure out. When saving it, should I use %d or %s? I'm saving the input in a variable that I declared like this: input1:.skip 4 * 50. Also, I was planning on using addx and addxcc to keep the carry and was planning on loading up 32 bits at a time and adding that and then restoring it, but I can't figure it out.
Am I going about this in the right way? Does anyone have any suggestions? Thanks in advance!