about summary refs log tree commit diff stats
path: root/miasm2/arch/msp430
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--miasm2/arch/msp430/arch.py2
-rw-r--r--miasm2/arch/msp430/ctype.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/arch/msp430/arch.py b/miasm2/arch/msp430/arch.py
index a8f75f39..f0db98f3 100644
--- a/miasm2/arch/msp430/arch.py
+++ b/miasm2/arch/msp430/arch.py
@@ -236,7 +236,7 @@ class mn_msp430(cls_mn):
             return 0
         o = 0
         if n > bs.getlen() * 8:
-            raise ValueError('not enought bits %r %r' % (n, len(bs.bin) * 8))
+            raise ValueError('not enough bits %r %r' % (n, len(bs.bin) * 8))
         while n:
             i = start / 8
             c = cls.getbytes(bs, i)
diff --git a/miasm2/arch/msp430/ctype.py b/miasm2/arch/msp430/ctype.py
index adb0a953..464adaf8 100644
--- a/miasm2/arch/msp430/ctype.py
+++ b/miasm2/arch/msp430/ctype.py
@@ -3,7 +3,7 @@ from miasm2.core.ctypesmngr import CTypeId, CTypePtr
 
 
 class CTypeMSP430_unk(CLeafTypes):
-    """Define C types sizes/alignement for msp430 architecture"""
+    """Define C types sizes/alignment for msp430 architecture"""
 
     obj_pad = ObjCDecl(PADDING_TYPE_NAME, 1, 1) # __padding__ is size 1/align 1