diff options
| author | Pierre LALET <pierre.lalet@cea.fr> | 2018-12-23 19:26:44 +0100 |
|---|---|---|
| committer | Pierre LALET <pierre.lalet@cea.fr> | 2018-12-23 19:26:44 +0100 |
| commit | 814ccf50314852d12168ad5b8a4a875a86bc6e3d (patch) | |
| tree | e19e9820bb8355730ae9bd0c706e414e39c895ef /miasm2/arch/mep/sem.py | |
| parent | 011e1e209b3d00afe3c8e65000209a568c5eb791 (diff) | |
| download | miasm-814ccf50314852d12168ad5b8a4a875a86bc6e3d.tar.gz miasm-814ccf50314852d12168ad5b8a4a875a86bc6e3d.zip | |
Fix typos & add codespell
Diffstat (limited to '')
| -rw-r--r-- | miasm2/arch/mep/sem.py | 8 |
1 files changed, 4 insertions, 4 deletions
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 """ |