about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2014-08-29 11:12:58 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2014-08-29 11:12:58 +0200
commit5ca8bd8e86894983ffc3c56eba87590a3bc2c3c8 (patch)
tree16a216dfa48309c4f4b0a748d6aad1c393f43e39
parent9ebb27bd1054211f28740fed43a6e5e2c589960d (diff)
downloadmiasm-5ca8bd8e86894983ffc3c56eba87590a3bc2c3c8.tar.gz
miasm-5ca8bd8e86894983ffc3c56eba87590a3bc2c3c8.zip
mips32: add mnemo addi
-rw-r--r--miasm2/arch/mips32/arch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/miasm2/arch/mips32/arch.py b/miasm2/arch/mips32/arch.py
index e43f7472..19f8b26f 100644
--- a/miasm2/arch/mips32/arch.py
+++ b/miasm2/arch/mips32/arch.py
@@ -601,6 +601,7 @@ bs_bcc = bs_name(l=5, name = {"BGEZ":    0b00001,
 
 
 
+mips32op("addi",    [bs('001000'), rs, rt, s16imm], [rt, rs, s16imm])
 mips32op("addiu",   [bs('001001'), rs, rt, s16imm], [rt, rs, s16imm])
 mips32op("nop",     [bs('0'*32)], alias = True)
 mips32op("lui",     [bs('001111'), bs('00000'), rt, u16imm])