Browse Source

* fixed assembly of the NEC V20/V30 BRKEM instruction

git-svn-id: trunk@33319 -
nickysn 9 years ago
parent
commit
a79676bd1c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      compiler/x86/rax86.pas

+ 4 - 0
compiler/x86/rax86.pas

@@ -1092,6 +1092,10 @@ begin
     begin
     begin
       if (ops=1) and (opcode=A_INT) then
       if (ops=1) and (opcode=A_INT) then
         siz:=S_B;
         siz:=S_B;
+{$ifdef i8086}
+      if (ops=1) and (opcode=A_BRKEM) then
+        siz:=S_B;
+{$endif i8086}
       if (ops=1) and (opcode=A_RET) or (opcode=A_RETN) or (opcode=A_RETF) then
       if (ops=1) and (opcode=A_RET) or (opcode=A_RETN) or (opcode=A_RETF) then
         siz:=S_W;
         siz:=S_W;
       if (ops=1) and (opcode=A_PUSH) then
       if (ops=1) and (opcode=A_PUSH) then