All Classes Namespaces Files Functions Variables Typedefs Properties Macros
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
miasm2.arch.mips32.arch.mips32_eposh Class Reference
+ Inheritance diagram for miasm2.arch.mips32.arch.mips32_eposh:
+ Collaboration diagram for miasm2.arch.mips32.arch.mips32_eposh:

Public Member Functions

def decode
def encode

Public Attributes


Static Public Attributes

 parser = cpu.base_expr

Detailed Description

Definition at line 430 of file arch.py.

Member Function Documentation

def miasm2.arch.mips32.arch.mips32_eposh.decode (   self,

Definition at line 431 of file arch.py.

432  def decode(self, v):
433  self.expr = ExprInt32(v-int(self.parent.epos.expr.arg)+1)
434  return True
def miasm2.arch.mips32.arch.mips32_eposh.encode (   self)

Definition at line 435 of file arch.py.

436  def encode(self):
437  if not isinstance(self.expr, ExprInt):
438  return False
439  v = int(self.expr.arg) + int(self.parent.epos.expr.arg) -1
440  self.value = v
441  return True

Member Data Documentation


Definition at line 432 of file arch.py.

miasm2.arch.mips32.arch.mips32_imm.parser = cpu.base_expr

Definition at line 300 of file arch.py.


Definition at line 439 of file arch.py.

The documentation for this class was generated from the following file: