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

Public Member Functions

def decode
def encode
def fromstring

Public Attributes


Static Public Attributes

 parser = dgbr_reg

Detailed Description

Definition at line 540 of file arch.py.

Member Function Documentation

def miasm2.arch.sh4.arch.bs_dr0gbr.decode (   self,

Definition at line 543 of file arch.py.

544  def decode(self, v):
545  self.expr = ExprMem(GBR + R0, 8)
546  return True
def miasm2.arch.sh4.arch.bs_dr0gbr.encode (   self)

Definition at line 547 of file arch.py.

548  def encode(self):
549  return self.expr == ExprMem(GBR + R0, 8)
def miasm2.arch.sh4.arch.sh4_dgpreg.fromstring (   self,
  parser_result = None 

Definition at line 158 of file arch.py.

159  def fromstring(self, s, parser_result=None):
160  start, stop = super(sh4_dgpreg, self).fromstring(s, parser_result)
161  if start is None:
162  return start, stop
163  self.expr = ExprMem(self.expr.arg, self.sz)
164  return start, stop

Member Data Documentation


Definition at line 544 of file arch.py.

miasm2.arch.sh4.arch.bs_dr0gbr.parser = dgbr_reg

Definition at line 541 of file arch.py.


Definition at line 177 of file arch.py.

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