+ added a 'cld' before the first string x86 instruction in the i8086-msdos startup code

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25635 3ad0048d-3df7-0310-abae-a5850022a9f2
* get the count of params from the correct list

this fixes varargs a bit, particularly fixes an unhandled TList bounds exception while compiling packages/fcl-base/src/eventlog.pp


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25636 3ad0048d-3df7-0310-abae-a5850022a9f2
* do not emit TST.L #ofs(dX) instructions for the Coldfire

fixes an assembler error while compiling packages/fpgtk/src/fpgtk.pp for the Coldfire


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25637 3ad0048d-3df7-0310-abae-a5850022a9f2