Hi, just found this video series and am enjoying it so far! I was watching episode one and noticed that the overflow flag calculation for OpASL is wrong:
origValue >> 6 needs to be masked or you'll set the overflow flag when it shouldn't be. For example if origValue is 0b11000000, then you'll get 1 ^ 3 == 2 instead of 1 ^ 1 == 0.
Hi, just found this video series and am enjoying it so far! I was watching episode one and noticed that the overflow flag calculation for
OpASL
is wrong:origValue >> 6
needs to be masked or you'll set the overflow flag when it shouldn't be. For example iforigValue
is0b11000000
, then you'll get1 ^ 3 == 2
instead of1 ^ 1 == 0
.