This coding permits you to use the debugger as a hex calculator by using the facility to change the registers to the desired value and then single-stepping through the correct mnemonic to carry out the calculation.
To use the calculator, run to one of the following breakpoints:-
CALC_ADD
Then change the registers to suit the required calculation and single-step over the code. After each calculation the ECX register is zeroed and a zero conditional jump is executed to start the calculation again. To get out of the code click on the zero flag on the debugger just after the XOR ECX,ECX instruction. This will stop the jump back. You will need to do this to run to a different breakpoint.
CALC_SUB
CALC_XOR
CALC_OR
CALC_AND
CALC_MUL
CALC_DIV