mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 21:32:19 +00:00
assembled SAC and SIR opcodes of 6502DTV cpu were wrong
This commit is contained in:
parent
1c5c07406c
commit
0e98818db5
@ -367,7 +367,7 @@ static const struct {
|
||||
{ "RRA", 0x000A26C, 0x63, 0, PutAll }, /* X */
|
||||
{ "RTI", 0x0000001, 0x40, 0, PutAll },
|
||||
{ "RTS", 0x0000001, 0x60, 0, PutAll },
|
||||
{ "SAC", 0x0800000, 0x32, 0, PutAll }, /* DTV */
|
||||
{ "SAC", 0x0800000, 0x32, 1, PutAll }, /* DTV */
|
||||
{ "SBC", 0x080A26C, 0xe0, 0, PutAll },
|
||||
{ "SEC", 0x0000001, 0x38, 0, PutAll },
|
||||
{ "SED", 0x0000001, 0xf8, 0, PutAll },
|
||||
@ -375,7 +375,7 @@ static const struct {
|
||||
{ "SHA", 0x0002200, 0x93, 1, PutAll }, /* X */
|
||||
{ "SHX", 0x0000200, 0x9e, 1, PutAll }, /* X */
|
||||
{ "SHY", 0x0000040, 0x9c, 1, PutAll }, /* X */
|
||||
{ "SIR", 0x0800000, 0x32, 0, PutAll }, /* DTV */
|
||||
{ "SIR", 0x0800000, 0x42, 1, PutAll }, /* DTV */
|
||||
{ "STA", 0x000A26C, 0x80, 0, PutAll },
|
||||
{ "STX", 0x000010c, 0x82, 1, PutAll },
|
||||
{ "STY", 0x000002c, 0x80, 1, PutAll },
|
||||
@ -1031,9 +1031,9 @@ const InsTable* InsTab = (const InsTable*) &InsTab6502;
|
||||
*/
|
||||
static unsigned char EATab[12][AM65I_COUNT] = {
|
||||
{ /* Table 0 */
|
||||
0x00, 0x00, 0x05, 0x0D, 0x0F, 0x15, 0x1D, 0x1F,
|
||||
0x00, 0x19, 0x12, 0x00, 0x07, 0x11, 0x17, 0x01,
|
||||
0x00, 0x00, 0x00, 0x03, 0x13, 0x09, 0x00, 0x09,
|
||||
0x00, 0x00, 0x05 /*zp*/, 0x0D /*abs*/, 0x0F, 0x15 /*zpx*/, 0x1D /*abx*/, 0x1F,
|
||||
0x00, 0x19 /*aby*/, 0x12, 0x00, 0x07, 0x11 /*izy*/, 0x17, 0x01 /*izx*/,
|
||||
0x00, 0x00, 0x00, 0x03, 0x13, 0x09 /*imm*/, 0x00, 0x09,
|
||||
0x00, 0x00, 0x00, 0x00
|
||||
},
|
||||
{ /* Table 1 */
|
||||
|
Loading…
Reference in New Issue
Block a user