Adding CPSR register for arm qemu (#800)

This commit is contained in:
Patrick Gersch 2022-09-29 16:06:33 +02:00 committed by GitHub
parent 30f143cd3d
commit d2427fd8a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,7 @@ pub enum Regs {
R13 = 13,
R14 = 14,
R15 = 15,
R25 = 25,
}
/// alias registers
@ -36,6 +37,7 @@ impl Regs {
pub const Sl: Regs = Regs::R10;
pub const Fp: Regs = Regs::R11;
pub const Ip: Regs = Regs::R12;
pub const Cpsr: Regs = Regs::R25;
}
#[cfg(feature = "python")]