morlac
February 13th, 2001, 22:58
Hi guys,
Im faced with a problem.
How can i translate the JNB 'Jump not below' to C/C++ statement?
I tried the following:
if ( var < 3 ) {
statement1
} else {
statement2
}
but that translates to:
cmp var,3
jge ggg <-- should be 'jnb ggg'
statement1
ggg:
statement2
And according to the opcode docs 'JGE' is different from 'JNB'
so, what can i do?
Morlac.
Im faced with a problem.
How can i translate the JNB 'Jump not below' to C/C++ statement?
I tried the following:
if ( var < 3 ) {
statement1
} else {
statement2
}
but that translates to:
cmp var,3
jge ggg <-- should be 'jnb ggg'
statement1
ggg:
statement2
And according to the opcode docs 'JGE' is different from 'JNB'
so, what can i do?
Morlac.