Hi!
Slickedit has a very handy feature where it will popup "enum_value = xxx" when I place the mouse over the enum value. I love the feature. But, just now I ran into a little annoying scenario with it.
I've got an enum listing most of the known x86 instructions. Every now and then I have to figure out what a certain integer value corresponds to the in the enum. Here is how it starts off:
enum OPCODES
{
OP_INVALID = 0,
OP_OPSIZE,
OP_ADDRSIZE,
OP_SEG,
OP_REPNE,
OP_REPE,
OP_REX,
OP_LOCK,
OP_LAST_PREFIX = OP_LOCK,
OP_AND,
OP_ELIPSIS
};
Mouse over OP_LOCK gives me "OP_LOCK = 7", like I want. While hovering over OP_LAST_PREFIX gives me the unhelpful "OP_LAST_PREFIX = OP_LOCK", and this continue with "OP_AND = OP_LOCK + 1" and so on for the next 680 or so instructions.
Any chance the OP_LOCK could be resolved to a numerical value starting with OP_LAST_PREFIX? It would be sooo much more helpful. :-)
Kind Regards,
bird.