3 ms·
The carry flag is also the canonical way to signal "something has gone wrong" in low-level code. Example: Intel virtual machine extension instructions (like vmw
by kccqzy 6y ago
The carry flag is also the canonical way to signal "something has gone wrong" in low-level code. Example: Intel virtual machine extension instructions (like vmwrite, vmxon) all set the carry flag when they fail. But no, you'd usually use jc or setc to read the flag.