Implement arm_SVC

This commit is contained in:
MerryMage 2016-07-14 14:04:43 +01:00
parent 672ffb93d0
commit 9b2aff166a
8 changed files with 93 additions and 5 deletions

View file

@ -72,6 +72,10 @@ void IREmitter::LoadWritePC(IR::ValuePtr value) {
Inst(IR::Opcode::BXWritePC, {value});
}
void IREmitter::CallSupervisor(IR::ValuePtr value) {
Inst(IR::Opcode::CallSupervisor, {value});
}
IR::ValuePtr IREmitter::GetCFlag() {
return Inst(IR::Opcode::GetCFlag, {});
}