i need a code that uses addition and subtraction to set and clear a carry flag. it must then display the flags and the dumpregisters after each instruction.
please help guys
Printable View
i need a code that uses addition and subtraction to set and clear a carry flag. it must then display the flags and the dumpregisters after each instruction.
please help guys
The clc instruction can clear the carry flag?
Addition (subtraction is just adding a negative value) sets or clears the flags. Displaying flags and registers is just a display routing.