Motorola 68000 assembly text strings
I am writing an assembly program for the Motorola 68000, and I am having trouble doing dynamic strings. I want to be able to append information to a string, and then print it out.
EDIT: Made some progress. I can dynamically generate a string, but to append to that string is a problem. I am having trouble using the kludgey pointer system here in Assembler. I cannot seem to use pointers to the actual buffer.... Code:
goodbuffer MACRO string str = ""; // doing stuff.... str += "ADDI.W "; // more stuff.... str += " D2,D4"; cout << str << endl; [/code] Edit: Solved, though not efficiently. |
All times are GMT -5. The time now is 01:59 AM. |