Hello,

How can I if CarryFlag set and check

if CF == 1 ; compiler can not compile error

.ENDIF

Thanks..
Posted on 2003-02-17 13:28:06 by Fred
.if [COLOR=darkred]CARRY?[/COLOR]

[COLOR=green]; Do something magical...[/COLOR]
.endif
Posted on 2003-02-17 14:42:53 by bitRAKE
Or simply:

jnc nocarry
;do what you need to do and
;jump elsewhere if required

nocarry:

Raymond
Posted on 2003-02-17 19:56:59 by Raymond
Thanks...

Can I ask all flags with if too???
Posted on 2003-02-18 07:54:39 by Fred
IIRC:

CARRY?
SIGN?
OVERFLOW?
PARITY?
ZERO?
Posted on 2003-02-18 09:02:46 by bitRAKE
one more:

IOPL?
Posted on 2003-02-18 10:30:46 by kairon
ROFL?
Posted on 2003-02-18 12:53:59 by Delight

ROFL?


Nah,

RTFM?

(as all flags are explained in the help files coming with masm32 ;) )
Posted on 2003-02-18 13:02:04 by bazik
Hello,

Thanks...

IF and
CF
Posted on 2003-02-20 02:11:00 by Fred