Flack
June 16th, 2004, 22:40
Hello,
Here is the part of code I need help with:
Now, when I get to line 50B311, an ASCII string from the stack is placed in EAX. My question is what exactly does TEST EAX,EAX do? Wont that always result in clearing the zero flag? Isnt that what happens when you TEST something with itself?
As you can probably tell from my question, I am quite new at this
Thanx for the help,
-Flack
Here is the part of code I need help with:
Code:
0050B311 /$ 8B4424 08 MOV EAX,DWORD PTR SS:[ESP+8]
0050B315 |. 56 PUSH ESI
0050B316 |. 85C0 TEST EAX,EAX
0050B318 |. 8BF1 MOV ESI,ECX
0050B31A 75 08 JNZ SHORT nbpro.0050B324
Now, when I get to line 50B311, an ASCII string from the stack is placed in EAX. My question is what exactly does TEST EAX,EAX do? Wont that always result in clearing the zero flag? Isnt that what happens when you TEST something with itself?
As you can probably tell from my question, I am quite new at this

Thanx for the help,
-Flack