mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-06 22:48:25 +01:00
TranslateArm: Implement MRS, MSR (imm), MSR (reg)
This commit is contained in:
parent
30f3d869cc
commit
e164ede4dc
9 changed files with 95 additions and 10 deletions
|
|
@ -102,6 +102,14 @@ void IREmitter::PushRSB(const LocationDescriptor& return_location) {
|
|||
Inst(IR::Opcode::PushRSB, {IR::Value(return_location.UniqueHash())});
|
||||
}
|
||||
|
||||
IR::Value IREmitter::GetCpsr() {
|
||||
return Inst(IR::Opcode::GetCpsr, {});
|
||||
}
|
||||
|
||||
void IREmitter::SetCpsr(const IR::Value& value) {
|
||||
Inst(IR::Opcode::SetCpsr, {value});
|
||||
}
|
||||
|
||||
IR::Value IREmitter::GetCFlag() {
|
||||
return Inst(IR::Opcode::GetCFlag, {});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue