diff options
Diffstat (limited to 'miasm2/arch/mep')
| -rw-r--r-- | miasm2/arch/mep/arch.py | 6 | ||||
| -rw-r--r-- | miasm2/arch/mep/sem.py | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/miasm2/arch/mep/arch.py b/miasm2/arch/mep/arch.py index 3cfa55a6..e4d66a63 100644 --- a/miasm2/arch/mep/arch.py +++ b/miasm2/arch/mep/arch.py @@ -313,7 +313,7 @@ class mn_mep(cls_mn): all_mn_inst = defaultdict(list) # mnemonics objects # Note: # - the key is the mnemonic Python class - # - the data is an instanciated object + # - the data is an instantiated object bintree = dict() # Variable storing internal values used to guess a # mnemonic during disassembly @@ -321,7 +321,7 @@ class mn_mep(cls_mn): # Defines the instruction set that will be used instruction = instruction_mep - # Python module that stores registers informations + # Python module that stores registers information regs = mep_regs_module # Default delay slot @@ -826,7 +826,7 @@ class mep_copro_reg_split(mep_copro_reg): class mep_deref_inc_reg(mep_deref_reg): - """Generic Toshiba MeP-c4 coprocess dereferenced & incremented registe + """Generic Toshiba MeP-c4 coprocess dereferenced & incremented register """ parser = deref_inc_reg_parser diff --git a/miasm2/arch/mep/sem.py b/miasm2/arch/mep/sem.py index 9e0cba6b..fb67becd 100644 --- a/miasm2/arch/mep/sem.py +++ b/miasm2/arch/mep/sem.py @@ -265,18 +265,18 @@ def advck3(r0, rn, rm): @sbuild.parse def sub(reg1, reg2): - """SUB - Substract one register to another.""" + """SUB - Subtract one register to another.""" # Rn <- Rn - Rm reg1 = reg1 - reg2 def sbvck3(ir, instr, r0, rn, rm): - """SBVCK3 - Check substraction overflow""" + """SBVCK3 - Check subtraction overflow""" # if(Overflow(Rn-Rm)) R0<-1 else R0<-0 (Signed) - # Substract registers + # Subtract registers reg_sub = ExprOp("+", rn, rm) # Get the register storing the highest value @@ -1160,7 +1160,7 @@ class ir_mepb(IntermediateRepresentation): return instr_ir, extra_ir def get_next_break_loc_key(self, instr): - """Returns a new label that identifies where the instuction is going. + """Returns a new label that identifies where the instruction is going. Note: it eases linking IR blocs """ |