CE-Programming / CEmu

Third-party TI-84 Plus CE / TI-83 Premium CE emulator, focused on developer features
https://ce-programming.github.io/CEmu/
Other
1.07k stars 76 forks source link

Incorrect behavior of EX (SP),HL/I instructions in 16-bit mode #427

Closed calc84maniac closed 2 years ago

calc84maniac commented 2 years ago

As it turns out, EX (SP),HL and its index register equivalents don't actually zero the upper byte of the register pair in 16-bit mode on a real eZ80. I use 16-bit mode a lot and this was hiding some bugs in my code, so fix plzkthx

jacobly0 commented 2 years ago

Fixed by bfe5d1cd694ca3288168c478666ef20367afaa31.