pub struct ArmCoreRegs {
pub r: [u32; 13],
pub sp: u32,
pub lr: u32,
pub pc: u32,
pub cpsr: u32,
}
Expand description
32-bit ARM core registers.
Source: https://github.com/bminor/binutils-gdb/blob/master/gdb/features/arm/arm-core.xml
Fields§
§r: [u32; 13]
General purpose registers (R0-R12)
sp: u32
Stack Pointer (R13)
lr: u32
Link Register (R14)
pc: u32
Program Counter (R15)
cpsr: u32
Current Program Status Register (cpsr)
Trait Implementations§
Source§impl Clone for ArmCoreRegs
impl Clone for ArmCoreRegs
Source§fn clone(&self) -> ArmCoreRegs
fn clone(&self) -> ArmCoreRegs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ArmCoreRegs
impl Debug for ArmCoreRegs
Source§impl Default for ArmCoreRegs
impl Default for ArmCoreRegs
Source§fn default() -> ArmCoreRegs
fn default() -> ArmCoreRegs
Returns the “default value” for a type. Read more
Source§impl PartialEq for ArmCoreRegs
impl PartialEq for ArmCoreRegs
Source§impl Registers for ArmCoreRegs
impl Registers for ArmCoreRegs
Source§type ProgramCounter = u32
type ProgramCounter = u32
The type of the architecture’s program counter / instruction pointer.
Must match with the corresponding
Arch::Usize
.Source§fn pc(&self) -> Self::ProgramCounter
fn pc(&self) -> Self::ProgramCounter
Return the value of the program counter / instruction pointer.
impl Eq for ArmCoreRegs
impl StructuralPartialEq for ArmCoreRegs
Auto Trait Implementations§
impl Freeze for ArmCoreRegs
impl RefUnwindSafe for ArmCoreRegs
impl Send for ArmCoreRegs
impl Sync for ArmCoreRegs
impl Unpin for ArmCoreRegs
impl UnwindSafe for ArmCoreRegs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more