1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-23 03:32:32 +00:00

Fixed: PHP pushes only 8 bits regardless of mode.

This commit is contained in:
Thomas Harte 2020-10-30 22:36:00 -04:00
parent 03d1aff6c0
commit 88e26b42f5

View File

@ -785,7 +785,7 @@ ProcessorStorage::ProcessorStorage() {
/* 0x05 ORA d */ op(direct, ORA);
/* 0x06 ASL d */ op(direct_rmw, ASL);
/* 0x07 ORA [d] */ op(direct_indirect_long, ORA);
/* 0x08 PHP s */ op(stack_push, PHP);
/* 0x08 PHP s */ op(stack_push, PHP, AccessMode::Always8Bit);
/* 0x09 ORA # */ op(immediate, ORA);
/* 0x0a ASL A */ op(accumulator, ASL);
/* 0x0b PHD s */ op(stack_push, PHD, AccessMode::Always8Bit);