Explorar o código

+ added cld to DebugWrite

git-svn-id: trunk@27264 -
nickysn %!s(int64=11) %!d(string=hai) anos
pai
achega
32c3f4e682
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      rtl/msdos/system.pp

+ 3 - 0
rtl/msdos/system.pp

@@ -124,6 +124,9 @@ procedure DebugWrite(const S: string);
 begin
   asm
     mov si, S
+{$ifdef FPC_ENABLED_CLD}
+    cld
+{$endif FPC_ENABLED_CLD}
     lodsb
     mov cl, al
     xor ch, ch