Closed emoon closed 8 years ago
Thanks!
I didn't know you could write dst.wrapping_sub(src)
, I assume it's the less verbose equivalent of (Wrapping(dst) - Wrapping(src)).0
that I used in the ADD/CMP implementation?
Yeah, I prefer that notation because I think it's a bit clear.
Can read more on it here https://doc.rust-lang.org/std/primitive.u32.html#method.wrapping_add
Passes all the qc tests
Closes https://github.com/marhel/r68k/issues/50