(cpu: &mut Cpu)
| 18 | |
| 19 | impl XpsrHandler { |
| 20 | pub fn new(cpu: &mut Cpu) -> Self { |
| 21 | Self { |
| 22 | ng: cpu.arch.sleigh.get_varnode("NG").unwrap(), |
| 23 | zr: cpu.arch.sleigh.get_varnode("ZR").unwrap(), |
| 24 | cy: cpu.arch.sleigh.get_varnode("CY").unwrap(), |
| 25 | ov: cpu.arch.sleigh.get_varnode("OV").unwrap(), |
| 26 | xpsr: cpu.arch.sleigh.get_varnode("xpsr").unwrap(), |
| 27 | } |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | const XPSR_NZCV_MASK: u32 = 0xf000_0000; |
nothing calls this directly
no outgoing calls
no test coverage detected