Hi all,
After performing some operations I need to read flags such as the carry,
the zero, the negative. For instance:
static bool carry;
int sub(int x, int y) {
int res = x + y;
carry = get_cpu_carry_flag();
return res;
}
Is there and way to implement this get_cpu_carry_flag() function for
vc2005? I certainly need a fast way to do it. The inline assembler would
do it, but it is not there anymore.
Artem