Main codegen loop now running through instructions.

This commit is contained in:
Ben Vanik
2013-05-22 13:10:07 -07:00
parent dad99769cb
commit 16d2b73a73
6 changed files with 749 additions and 777 deletions

View File

@@ -292,7 +292,7 @@ void InstrDisasm::AddSImmOperand(uint64_t value, size_t width,
o.type = InstrOperand::kImmediate;
o.imm.is_signed = true;
o.imm.value = value;
o.imm.width = value;
o.imm.width = width;
o.display = display;
operands.push_back(o);
}
@@ -303,7 +303,7 @@ void InstrDisasm::AddUImmOperand(uint64_t value, size_t width,
o.type = InstrOperand::kImmediate;
o.imm.is_signed = false;
o.imm.value = value;
o.imm.width = value;
o.imm.width = width;
o.display = display;
operands.push_back(o);
}