summaryrefslogtreecommitdiff
path: root/compiler/x86/aasmcpu.pas
diff options
context:
space:
mode:
authorflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2019-08-11 19:35:34 +0000
committerflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2019-08-11 19:35:34 +0000
commite3e41864aef46e0c93fd3dd60453f966202c7fb7 (patch)
tree3aa0bc1ca01feb99aabb4bf53f4c67e8d56f6d1b /compiler/x86/aasmcpu.pas
parent57ad7e4e6bd530817ffdcf3fa55444a50c57d808 (diff)
downloadfpc-e3e41864aef46e0c93fd3dd60453f966202c7fb7.tar.gz
* compilation on i386 fixed
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42655 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/x86/aasmcpu.pas')
-rw-r--r--compiler/x86/aasmcpu.pas10
1 files changed, 5 insertions, 5 deletions
diff --git a/compiler/x86/aasmcpu.pas b/compiler/x86/aasmcpu.pas
index 050e16a37c..7e770c5e55 100644
--- a/compiler/x86/aasmcpu.pas
+++ b/compiler/x86/aasmcpu.pas
@@ -1601,11 +1601,11 @@ implementation
(not(InsTabMemRefSizeInfoCache^[opcode].ConstSize in [csiMultiple, csiUnkown])) then
begin
case InsTabMemRefSizeInfoCache^[opcode].ConstSize of
- csiNoSize: ot := ot and (not(OT_SIZE_MASK)) or OT_IMMEDIATE;
- csiMem8: ot := ot and (not(OT_SIZE_MASK)) or OT_IMMEDIATE or OT_BITS8;
- csiMem16: ot := ot and (not(OT_SIZE_MASK)) or OT_IMMEDIATE or OT_BITS16;
- csiMem32: ot := ot and (not(OT_SIZE_MASK)) or OT_IMMEDIATE or OT_BITS32;
- csiMem64: ot := ot and (not(OT_SIZE_MASK)) or OT_IMMEDIATE or OT_BITS64;
+ csiNoSize: ot := ot and OT_NON_SIZE or OT_IMMEDIATE;
+ csiMem8: ot := ot and OT_NON_SIZE or OT_IMMEDIATE or OT_BITS8;
+ csiMem16: ot := ot and OT_NON_SIZE or OT_IMMEDIATE or OT_BITS16;
+ csiMem32: ot := ot and OT_NON_SIZE or OT_IMMEDIATE or OT_BITS32;
+ csiMem64: ot := ot and OT_NON_SIZE or OT_IMMEDIATE or OT_BITS64;
else
;
end;