Closed hlide closed 1 year ago
https://github.com/kosarev/z80/blob/ec19a48df0cd9c022eeab8f8626e459090578b14/z80.h#L305
It should be: fast_u8 i = self().on_get_i(); fast_u8 r = self().on_get_r(); return make16(i, r); and not: ... return make16(r, i); as it is equivalently done in your code through h and l.
fast_u8 i = self().on_get_i(); fast_u8 r = self().on_get_r(); return make16(i, r);
... return make16(r, i);
h
l
Fixed in d16c92d, thanks!
https://github.com/kosarev/z80/blob/ec19a48df0cd9c022eeab8f8626e459090578b14/z80.h#L305
It should be:
fast_u8 i = self().on_get_i(); fast_u8 r = self().on_get_r(); return make16(i, r);
and not:... return make16(r, i);
as it is equivalently done in your code throughh
andl
.