Browse Source

+ support 'dw SEG symbol' in the inline assembler on i8086

git-svn-id: trunk@32256 -
nickysn 9 years ago
parent
commit
ca24b006ef
1 changed files with 3 additions and 0 deletions
  1. 3 0
      compiler/x86/rax86int.pas

+ 3 - 0
compiler/x86/rax86int.pas

@@ -2311,6 +2311,9 @@ Unit Rax86int;
             AS_LPAREN,
             AS_LPAREN,
             AS_NOT,
             AS_NOT,
             AS_INTNUM,
             AS_INTNUM,
+{$ifdef i8086}
+            AS_SEG,
+{$endif i8086}
             AS_ID :
             AS_ID :
               Begin
               Begin
                 BuildConstSymbolExpression(false,false,false,value,asmsym,asmsymtyp,isseg,is_farproc_entry);
                 BuildConstSymbolExpression(false,false,false,value,asmsym,asmsymtyp,isseg,is_farproc_entry);