Creating an ARM Dissassembler Need help on MUL Instruction (ARM Assembly) -
i trying create disassembler arm want learn arm assembly language. have read stackoverflow thread best way it. 1 thing having trouble getting decode of multiply correctly.
here example of disassembled object file.
00008054 <_start>: ==============ommitted irrelevant instructions ====
8064: e0010092 mul r1, r2, r0
from reference manual (http://www.nyx.net/~troddis/arm.html), multiply instruction should have value of "1001" in bits [4-7] inclusive. however, e0010092 in binary "11100010000000000001000000000010" have 0000 in bits 4-7.
is there obvious missing? using codesourcery's arm 2012.09-64 cross compiler...
how'd convert binary? hex 9 binary 1001.
Comments
Post a Comment