mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-02 04:34:43 +01:00
A32: Implement ARM-mode MOVW
Introduced to the ISA in ARMv6T2
This commit is contained in:
parent
1c47e638fc
commit
106c8c2473
4 changed files with 21 additions and 0 deletions
|
|
@ -820,6 +820,10 @@ public:
|
|||
const u32 imm = concatenate(imm4, imm12).ZeroExtend();
|
||||
return fmt::format("movt{} {}, #{}", CondToString(cond), d, imm);
|
||||
}
|
||||
std::string arm_MOVW(Cond cond, Imm<4> imm4, Reg d, Imm<12> imm12) {
|
||||
const u32 imm = concatenate(imm4, imm12).ZeroExtend();
|
||||
return fmt::format("movw{}, {}, #{}", CondToString(cond), d, imm);
|
||||
}
|
||||
std::string arm_NOP() {
|
||||
return "nop";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue