Skip to main content

parse_register

Function parse_register 

Source
pub fn parse_register(name: &str, arch: Arch) -> Option<Register>
Expand description

Parse a register name — case-insensitive, zero heap allocations.

Architecture-aware: conflicting names like r8-r15, sp are resolved based on the target architecture.