mirror of
https://github.com/jpd002/Play-.git
synced 2025-05-08 11:37:59 +03:00
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:
parent
7b7c69d8b0
commit
b51b5facfd
4 changed files with 63 additions and 18 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue