Since CMP is nothing but SUB without setting the accumulator, I modified the CMP instruction code to match the SUB instruction using a different variable in place of the accumulator variable.
I would like to test whether the flags set during the subtract operations are correct or not. Can anyone suggest test cases?
Hi,
Since CMP is nothing but SUB without setting the accumulator, I modified the CMP instruction code to match the SUB instruction using a different variable in place of the accumulator variable.
I would like to test whether the flags set during the subtract operations are correct or not. Can anyone suggest test cases?
Thanks,
Debjit