1

I know I can set the operand data type of my disassembly using functions such as OpBinary, OpOctal,OpDecimal, etc.

Now, I'm trying to get the current operand data type of my disassembly instead. For example:

  • mov eax, 200 should return decimal
  • mov eax, 0C8h should return hex
  • mov eax, 11001000b should return binary
  • and so on.

GetOpType can get the instruction operand type but not the operand data type. Is there a function to get the operand data type instead?

1 Answer 1

2

It seems I can use the following MACROS together with GetFlags:

  • isDec1
  • isHex1
  • isBin1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.