Assembly Language for Beginners

(nextflipdebug2) #1

1.15. SWITCH()/CASE/DEFAULT


OllyDbg


Let’s try this example in OllyDbg. The input value of the function (2) is loaded intoEAX:


Figure 1.50:OllyDbg: function’s input value is loaded inEAX
Free download pdf