MOVE.L #100,-(SP) MOVE.L #200,-(SP) ; 200 will be printed first LEA FormatString,A0 MOVE.L SP,A1 LEA stuffChar(pc),A2 LEA StringBuffer,A3 MOVE.L 4,A6 CALLLIB _LVORawDoFmt LEA StringBuffer,A1 MOVE.L A1,D1 MOVE.L DosBase,A6 CALLLIB _LVOPutStr ; => "200,100\n" ADD.L #8,SP stuffChar: ;just recreate what's in the manual MOVE.B D0,(A3)+ RTS data: FormatString dc.b "%ld,%ld",10,0 CNOP 0,4 StringBuffer ds.b 32