Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 03-17-2006, 11:39
kittmaster kittmaster is offline
Friend
 
Join Date: Feb 2005
Location: USA
Posts: 30
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 1 Time in 1 Post
kittmaster Reputation: 0
Problems compiling a masm keygen hex error

I'm building a keygen with masm and I've got to the point that its almost ready. When a multiplier constant is applied masm needs to know that it is hex when the code is ripped and a lower case h is added to the end of the constant. Well there are two constants that for some reason will not compile correctly. Not sure what I'm missing. I have also done serveral other keygens with no issues, but this is the first time I've come across this problem. I've attach a full screen shot of olly with the routing, masm code, and the compile error. You can see that one with the h for hex and the other without just to see if it will work and both fail. The Movzx is line number 250. Can you peep this and tell me what I may be doing incorrectly

Thanks

http://www.kittmaster.com/vette/images/ScreenShot004.png

Chris
Reply With Quote
  #2  
Old 03-17-2006, 13:05
TQN TQN is offline
VIP
 
Join Date: Apr 2003
Location: Vietnam
Posts: 343
Rept. Given: 142
Rept. Rcvd 20 Times in 12 Posts
Thanks Given: 169
Thanks Rcvd at 130 Times in 43 Posts
TQN Reputation: 20
With a hex number, ASM request a "0" (Zero) character before. For ex: 0DEADBEEFh
Reply With Quote
  #3  
Old 03-17-2006, 22:58
kittmaster kittmaster is offline
Friend
 
Join Date: Feb 2005
Location: USA
Posts: 30
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 1 Time in 1 Post
kittmaster Reputation: 0
thank you........problem solved...

Chris
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
.Net native compiling atzplzw General Discussion 8 01-10-2011 15:47
Problem compiling IL loman General Discussion 6 06-25-2005 17:56
Cygwin : Error Compiling Mysql 4.1.7 duseng General Discussion 3 12-17-2004 20:28


All times are GMT +8. The time now is 04:26.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )