View Single Post
  #3  
Old 04-14-2005, 15:35
Hero Hero is offline
VIP
 
Join Date: Jan 2005
Posts: 226
Rept. Given: 2
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 5
Thanks Rcvd at 2 Times in 2 Posts
Hero Reputation: 1
What you wrote,is not an strcmp,because one of operands is only a char.
This compare can be simply written in assembly like this:

lea al,byte ptr [passEntered + 1]
cmp al,74h
jne IsNotEqual

sincerely yours
__________________
I should look out my posts,or JMI gets mad on me!
Reply With Quote