mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-19 22:33:13 +01:00
Attempt at fixing #126.
This commit is contained in:
@@ -1926,7 +1926,7 @@ struct AsmProcessor
|
||||
}
|
||||
if (use_star)
|
||||
insnTemplate->writebyte('*');
|
||||
if (operand->constDisplacement) {
|
||||
if (operand->segmentPrefix != Reg_Invalid || operand->constDisplacement) {
|
||||
if (operand->symbolDisplacement.dim)
|
||||
insnTemplate->writebyte('+');
|
||||
//addOperand(fmt, Arg_Integer, newIntExp(operand->constDisplacement), asmcode);
|
||||
|
||||
@@ -2047,7 +2047,7 @@ struct AsmProcessor
|
||||
}
|
||||
if (use_star)
|
||||
insnTemplate->writebyte('*');
|
||||
if (operand->constDisplacement) {
|
||||
if (operand->segmentPrefix != Reg_Invalid || operand->constDisplacement) {
|
||||
if (operand->symbolDisplacement.dim)
|
||||
insnTemplate->writebyte('+');
|
||||
//addOperand(fmt, Arg_Integer, newIntExp(operand->constDisplacement), asmcode);
|
||||
|
||||
Reference in New Issue
Block a user