Latest available version: IDA and decompilers v8.4.240527sp2 see all releases
Hex-Rays logo State-of-the-art binary code analysis tools
email icon
 Action    name: ToggleLeadingZeroes
This command displays or hides the leading zeroes of the current operand. Example: if the instruction looked like this:
        and     ecx, 40h
then after applying the command it will look like this:
        and     ecx, 00000040h
If you prefer to see leading zeroes in all cases, then open the calculator and enter the following expression:
        set_inf_attr(INF_GENFLAGS, get_inf_attr(INF_GENFLAGS) | INFFL_LZERO);
This will toggle the default for the current database and all numbers without leading zeroes will become numbers with leading zeroes, and vice versa.

See also Edit|Operand types|Number submenu.

Index | Previous topic | Next topic