#using DevPac
12-Sep-95 08:32:30
Sb: #48093-#using DevPac
Fm: Phillip Wooller 100024,2227
To: Bart Mathias 72017,1005
Ok, this one is pretty simple 🙂
When your program is called the arguments are pointed to by a0. Additionally
the length of the argument is stored in d0.
What you need to do is copy using a dbra loop and then store a zero at the end.
I don't think you will get a linefeed if you do this.
I haven't time to put a code fragment together, but basically you shouldn't
rely on there being a terminator of any sort on the argument
PHill