PDA

View Full Version : error in ollyscript


britedream
November 15th, 2004, 05:04
Hi psyCk0

I was testing some code and found that you used unsigned jumps , which produced logical errors:

var test

mov test,5

sub test,6

cmp test,5

ja notgood

ret
notgood:
msg "not good"
ret
it jumps , which is wrong. it compared 255 (-1) with 5

if jg [ signed jumps]is used insteadof ja [unsigned jumps] would produced the correct action.

Regards.

Britedreams

psyCK0
November 19th, 2004, 05:16
Hey britedream,
Will correct this ASAP...
The project is moving kinda slow atm, coz of work and stuff...
But a patch will be made available...