Added immediate constant stuff in ARM CodeGen.

git-svn-id: http://svn.purei.org/purei/trunk@522 b36208d7-6611-0410-8bec-b1987f11c4a2
This commit is contained in:
jpd002 2009-05-13 00:03:11 +00:00
parent 7b7c69d8b0
commit b51b5facfd
4 changed files with 63 additions and 18 deletions

View file

@ -218,6 +218,11 @@ void CArmAssembler::Mov(REGISTER rd, const RegisterAluOperand& operand)
WriteWord(opcode);
}
void CArmAssembler::Mov(REGISTER rd, const ImmediateAluOperand& operand)
{
MovCc(CONDITION_AL, rd, operand);
}
void CArmAssembler::MovCc(CONDITION condition, REGISTER rd, const ImmediateAluOperand& operand)
{
InstructionAlu instruction;