mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-16 21:03:14 +01:00
Logic error fix
This commit is contained in:
@@ -2188,7 +2188,7 @@ namespace AsmParserx8632
|
||||
}
|
||||
if ( use_star )
|
||||
insnTemplate->writebyte ( '*' );
|
||||
if ( operand->segmentPrefix != Reg_Invalid || !(operand->constDisplacement) )
|
||||
if ( operand->segmentPrefix != Reg_Invalid && !(operand->constDisplacement) )
|
||||
{
|
||||
insnTemplate->printf ( "%d", operand->constDisplacement );
|
||||
if ( opInfo->operands[i] & Opr_Dest )
|
||||
|
||||
@@ -2310,7 +2310,7 @@ namespace AsmParserx8664
|
||||
}
|
||||
if ( use_star )
|
||||
insnTemplate->writebyte ( '*' );
|
||||
if ( operand->segmentPrefix != Reg_Invalid || !(operand->constDisplacement))
|
||||
if ( operand->segmentPrefix != Reg_Invalid && !(operand->constDisplacement))
|
||||
{
|
||||
insnTemplate->printf ( "%d", operand->constDisplacement );
|
||||
if ( opInfo->operands[i] & Opr_Dest )
|
||||
|
||||
Reference in New Issue
Block a user