diff options
| -rw-r--r-- | miasm2/arch/arm/arch.py | 2 | ||||
| -rw-r--r-- | test/arch/arm/arch.py | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/miasm2/arch/arm/arch.py b/miasm2/arch/arm/arch.py index 7529b483..9bf36024 100644 --- a/miasm2/arch/arm/arch.py +++ b/miasm2/arch/arm/arch.py @@ -2247,3 +2247,5 @@ armtop("blx", [bs('11110'), tsign, timm10H, bs('11'), tj1, bs('0'), tj2, timm10L, bs('0')]) armtop("cbz", [bs('101100'), imm1, bs('1'), imm5_off, rnl], [rnl, imm5_off]) armtop("cbnz", [bs('101110'), imm1, bs('1'), imm5_off, rnl], [rnl, imm5_off]) + +armtop("bkpt", [bs('1011'), bs('1110'), imm8]) diff --git a/test/arch/arm/arch.py b/test/arch/arm/arch.py index f8912a5e..8e61b2f9 100644 --- a/test/arch/arm/arch.py +++ b/test/arch/arm/arch.py @@ -454,6 +454,8 @@ reg_tests_armt = [ ("00000000 UXTB R5, R0", "C5B2"), + ("xxxxxxxx BKPT 0x13", + "13be"), ] print "#" * 40, 'armthumb', '#' * 40 |