flopz.arch.ppc.vle package
Submodules
flopz.arch.ppc.vle.auto_instructions module
- class AutoLoadI(rD, imm)
Bases:
flopz.arch.auto_instruction.AutoInstruction
- Parameters
rD (
Register
) –imm (
int
) –
- expand()
- Return type
List
[Instruction
]- Returns
Regular instructions.
flopz.arch.ppc.vle.e200z0 module
- class E200Z0
Bases:
flopz.arch.ppc.ppc_generic_arch.PPCGenericArchitecture
flopz.arch.ppc.vle.instructions module
- class ARxyaOperand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class BD15Operand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class BD24Operand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class BD8Operand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class Bo16FieldEncodings(value)
Bases:
enum.IntEnum
An enumeration.
- BranchIfConditionIsFalse = 0
- BranchIfConditionIsTrue = 1
- class CRMOperand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class D16Operand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class D8Operand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class DualBitOperand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class EAdd16i(rD, rA, SI)
- class EAdd2i(rA, SI)
- class EAdd2is(rA, SI)
- class EAnd2i(rD, UI)
- class EAndi_WithCR(rA, rS, UI)
- class EB(bd24)
- class EBc(bd15)
- class EBe(bd15)
- class EBgt(bd15)
- class EBl(bd24)
- class EBlt(bd15)
- class EBne(bd15)
- class ELi(rD, I20)
- class ELis(rD, UI)
- class ELmw(rD, rA, D)
- class EMull2i(rA, SI)
- class EStmw(rS, rA, D)
- class EStw(rS, rA, D)
- class I20Operand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class Mfcr(rD)
- class Mfspr(rD, spr)
- class Mtcrf(CRM, rS)
- class Mtspr(spr, rS)
- class OIM5Operand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class RdOperand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class RxyaOperand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class SD4LS1Operand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class SD4LS2Operand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class SD4Operand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class SI16Operand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class SIOperand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class SPRNOperand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class SeAdd(rX, rY)
- class SeAddi(rX, oim5)
- class SeAndi(rX, ui5)
- class SeB(bd8)
- class SeBctr
- class SeBctrl
- class SeBeq(bd8)
- class SeBgt(bd8)
- class SeBl(bd8)
- class SeBlr
- class SeBlrl
- class SeBlt(bd8)
- class SeBne(bd8)
- class SeCmp(rX, rY)
- class SeCmph(rX, rY)
- class SeCmphl(rX, rY)
- class SeCmpi(rX, oim5)
- class SeCmpl(rX, rY)
- class SeCmpli(rX, oim5)
- class SeLbz(rZ, rX, sd4)
- class SeLhz(rZ, rX, sd4)
- class SeLi(rX, UI)
- class SeLwz(rZ, rX, sd4)
- class SeMfar(rX, arY)
- class SeMfctr(rX)
- class SeMflr(rX)
- class SeMr(rX, rY)
- class SeMtar(arX, rY)
- class SeMtctr(rX)
- class SeMtlr(rX)
- class SeMullw(rX, rY)
- class SeSlwi(rX, ui5)
- class SeSrwi(rX, ui5)
- class SeStb(rZ, rX, sd4)
- class SeSth(rZ, rX, sd4)
- class SeStw(rZ, rX, sd4)
- class SeSub(rX, rY)
- class SeSubf(rX, rY)
- class SeSubi(rX, oim5)
- class SingleBitOperand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class UI16Operand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class UI5Operand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class UI7Operand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class UI8Operand(instruction, bitpos_start, bitpos_end)
Bases:
flopz.arch.operands.Operand
- Parameters
instruction (
Instruction
) –bitpos_start (
int
) –bitpos_end (
int
) –
- class VleInstruction(form, spec, addr=0, bit_length=16, **kwargs)
Bases:
flopz.arch.instruction.Instruction
- Parameters
form (
VleInstructionForm
) –spec (
str
) –addr (
int
) –
- class VleInstructionForm
Bases:
object
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormBC
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormBD15
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormBD24
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormBD8
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormC
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormD
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormD16
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormD8
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormI16A
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormI16L
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormI20
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormIM5
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormIM7
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormOIM5
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormR
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormRR
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormSCI8
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormSD4
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormSD4_LS1
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionFormSD4
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormSD4_LS2
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionFormSD4
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormSeBC
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormX
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormXFX
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class VleInstructionFormXFX_CRM
Bases:
flopz.arch.ppc.vle.instructions.VleInstructionForm
- parse(instruction, spec)
- Parameters
instruction (
Instruction
) –spec (
str
) –
- class Wrteei(E)
flopz.arch.ppc.vle.registers module
flopz.arch.ppc.vle.vle module
- class VleGpRegister(name, val, reg_type=None)
Bases:
flopz.arch.register.Register
- Parameters
name (
str
) –val (
int
) –reg_type (
Optional
[IntEnum
]) –