string hex = "0x";
hex.append(str);
- unsigned int val = lexical_cast<uint32_from_hex>(hex);
+ CDat val = lexical_cast<uint32_from_hex>(hex);
+ return this->decodeNum(val);
+}
+
+Iinstr* disasm::decodeNum(CDat val)
+{
dynamic_bitset<> bits(32,val), opcode(32,val), condition(9), args(32);
args = opcode;