MCPcopy Index your code
hub / github.com/encounter/objdiff / condition_code

Function condition_code

objdiff-core/src/arch/arm64.rs:1980–2000  ·  view source on GitHub ↗
(cond: u8)

Source from the content-addressed store, hash-verified

1978}
1979
1980fn condition_code(cond: u8) -> &'static str {
1981 match cond {
1982 0b0000 => "eq",
1983 0b0010 => "hs",
1984 0b0100 => "mi",
1985 0b0110 => "vs",
1986 0b1000 => "hi",
1987 0b1010 => "ge",
1988 0b1100 => "gt",
1989 0b1110 => "al",
1990 0b0001 => "ne",
1991 0b0011 => "lo",
1992 0b0101 => "pl",
1993 0b0111 => "vc",
1994 0b1001 => "ls",
1995 0b1011 => "lt",
1996 0b1101 => "le",
1997 0b1111 => "nv",
1998 _ => "<invalid>",
1999 }
2000}
2001
2002#[inline]
2003fn push_register<Cb>(args: &mut Cb, size: SizeCode, reg: u16, sp: bool)

Callers 1

push_condition_codeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected