Visual2 icon indicating copy to clipboard operation
Visual2 copied to clipboard

WHY IN THIS PROGRAM C FLAG TURN TO 1,NEED HELP

Open ADemonevil opened this issue 1 year ago • 2 comments

Snipaste_2024-07-15_10-38-24

ADemonevil avatar Jul 15 '24 02:07 ADemonevil

Not a question about Vidual2 - which is not currently in development.

However:

cmp ~ sub 9 - 6 ~ 9 + ((2^31-1)) - 6 + 1

The addition has a carry.

tomcl avatar Jul 15 '24 08:07 tomcl

but when i ask chatgpt for help, it said carry flag is 0. And I am also confused ,can you explain more about ,it will really help me learning ,and thanks for that

ADemonevil avatar Jul 17 '24 10:07 ADemonevil