#![allow(non_camel_case_types)]
// For Unicorn Engine. AUTO-GENERATED FILE, DO NOT EDIT

// PowerPC registers
#[repr(C)]
#[derive(PartialEq, Debug, Clone, Copy)]
pub enum RegisterPPC {
    INVALID = 0,
    PC = 1,
    GPR0 = 2,
    GPR1 = 3,
    GPR2 = 4,
    GPR3 = 5,
    GPR4 = 6,
    GPR5 = 7,
    GPR6 = 8,
    GPR7 = 9,
    GPR8 = 10,
    GPR9 = 11,
    GPR10 = 12,
    GPR11 = 13,
    GPR12 = 14,
    GPR13 = 15,
    GPR14 = 16,
    GPR15 = 17,
    GPR16 = 18,
    GPR17 = 19,
    GPR18 = 20,
    GPR19 = 21,
    GPR20 = 22,
    GPR21 = 23,
    GPR22 = 24,
    GPR23 = 25,
    GPR24 = 26,
    GPR25 = 27,
    GPR26 = 28,
    GPR27 = 29,
    GPR28 = 30,
    GPR29 = 31,
    GPR30 = 32,
    GPR31 = 33,
}

impl From<RegisterPPC> for i32 {
    fn from(r: RegisterPPC) -> Self {
        r as i32
    }
}
