about summary refs log tree commit diff stats
path: root/miasm2/arch/arm/arch.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2014-09-29 16:37:00 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2014-09-29 16:37:00 +0200
commit6317588a7df1fb600cb1d9b218ef8c248255be64 (patch)
tree0116f1da1e6110e656a026be0e53d929213d94cb /miasm2/arch/arm/arch.py
parentd2d915478eb2cfe87c0e437611b7f35a68d9d34c (diff)
downloadmiasm-6317588a7df1fb600cb1d9b218ef8c248255be64.tar.gz
miasm-6317588a7df1fb600cb1d9b218ef8c248255be64.zip
Arm: swi is svc
Diffstat (limited to 'miasm2/arch/arm/arch.py')
-rw-r--r--miasm2/arch/arm/arch.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/miasm2/arch/arm/arch.py b/miasm2/arch/arm/arch.py
index 9bf36024..e5aa40d6 100644
--- a/miasm2/arch/arm/arch.py
+++ b/miasm2/arch/arm/arch.py
@@ -1878,8 +1878,6 @@ pclr = bs(l=1, fname='pclr')
 
 sp = bs(l=0, cls=(arm_sp,))
 
-tswi_i = bs(l=8, cls=(arm_imm,), fname="swi_i")
-
 
 off8s = bs(l=8, cls=(arm_offs,), fname="offs")
 trlistpclr = bs(l=8, cls=(armt_rlist_pclr,))
@@ -1982,7 +1980,7 @@ armtop("pushpop",
 armtop("btransfersp", [bs('1100'),  bs_tbtransfer_name, rbl_wb, trlist])
 armtop("br", [bs('1101'),  bs_br_name, offs8])
 armtop("blx", [bs("01000111"),  bs('10'), rnl, bs('000')])
-armtop("swi", [bs('11011111'),  tswi_i])
+armtop("svc", [bs('11011111'),  imm8])
 armtop("b", [bs('11100'),  offs11])
 armtop("und", [bs('1101'), bs('1110'), imm8_d1])