1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-03 08:51:40 +00:00

Correct decoding of BSR.

This commit is contained in:
Thomas Harte 2022-04-21 16:24:34 -04:00
parent 9697e666b7
commit bf9fc0ae96

View File

@ -1037,7 +1037,7 @@ Preinstruction Predecoder<model>::decode6(uint16_t instruction) {
switch(instruction & 0xf00) { switch(instruction & 0xf00) {
// 4-59 (p163) // 4-59 (p163)
case 1: case 0x100:
switch(instruction & 0xff) { switch(instruction & 0xff) {
case 0x00: Decode(Op::BSRw); case 0x00: Decode(Op::BSRw);
case 0xff: case 0xff: