Hi all,
I require 2 functions:
1) DecodeArmInstruction: This function is able to convert an ARM machine instruction into a "readable" structure (let's call it ARM_INSTR_INFO), so we get info about the opcode, registers used, type of parameters,.... The idea is that I can modify information in the structure at a later time, like register used, etc.
2) EncodeArmInstruction: Given an ARM_INSTR_INFO structure, you create the ARM machine instruction.
I require the functions to be implemented in Visual Studio (in either C or C++). Please, provide test examples to test the functions.
Thanks!