miasm
Reverse engineering framework
miasm.arch.mep.arch.mep_reg_sp Class Reference
Inheritance diagram for miasm.arch.mep.arch.mep_reg_sp:
Collaboration diagram for miasm.arch.mep.arch.mep_reg_sp:

Public Member Functions

def decode (self, v)
 
def encode (self)
 
- Public Member Functions inherited from miasm.core.cpu.reg_noarg
def fromstring (self, text, loc_db, parser_result=None)
 
def check_fbits (self, v)
 
- Public Member Functions inherited from miasm.arch.mep.arch.mep_arg
def asm_ast_to_expr (self, arg, loc_db)
 
- Public Member Functions inherited from miasm.core.cpu.m_arg
def fromstring (self, text, loc_db, parser_result=None)
 
def asm_ast_to_expr (self, arg, loc_db, **kwargs)
 

Public Attributes

 expr
 
- Public Attributes inherited from miasm.core.cpu.reg_noarg
 expr
 
 value
 
 fmask
 
- Public Attributes inherited from miasm.core.cpu.m_arg
 expr
 

Static Public Attributes

 implicit_reg = SP
 
- Static Public Attributes inherited from miasm.arch.mep.arch.mep_reg
 reg_info = gpr_infos
 
 parser = reg_info.parser
 
- Static Public Attributes inherited from miasm.core.cpu.reg_noarg
 reg_info = None
 
 parser = None
 

Detailed Description

Dummy Toshiba MeP-c4 register that represents SP. It is used in
instructions that implicitly use SP, such as ADD3.

Member Function Documentation

◆ decode()

def miasm.arch.mep.arch.mep_reg_sp.decode (   self,
  v 
)
Always return 'implicit_reg.

Reimplemented from miasm.core.cpu.reg_noarg.

◆ encode()

def miasm.arch.mep.arch.mep_reg_sp.encode (   self)
Do nothing

Reimplemented from miasm.core.cpu.reg_noarg.

Member Data Documentation

◆ expr

miasm.arch.mep.arch.mep_reg_sp.expr

◆ implicit_reg

miasm.arch.mep.arch.mep_reg_sp.implicit_reg = SP
static

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