we dont use the table in the custom jsr
This commit is contained in:
@@ -1125,7 +1125,7 @@ static const struct {
|
||||
{ "INX", 0x00000001, 0xe8, 0, PutAll },
|
||||
{ "INY", 0x00000001, 0xc8, 0, PutAll },
|
||||
{ "JMP", 0x00000C08, 0x00, 12, PutAll },
|
||||
{ "JSR", 0x20000408, 0x00, 13, PutJSR_m740 },
|
||||
{ "JSR", 0x20000408, 0x00, 0, PutJSR_m740 },
|
||||
{ "LDA", 0x0080A26C, 0xa0, 0, PutAll },
|
||||
{ "LDM", 0x10000000, 0x3c, 0, PutLDM_m740 },
|
||||
{ "LDX", 0x0080030C, 0xa2, 1, PutAll },
|
||||
@@ -1275,13 +1275,6 @@ static unsigned char EATab[14][AM65I_COUNT] = {
|
||||
0x00, 0x00, 0x00, 0x4c, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0xb2, 0x6c, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00
|
||||
},
|
||||
{ /* Table 13 m740 JSR */
|
||||
0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x22, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1912,10 +1905,8 @@ static void PutJSR_m740 (const InsDesc* Ins)
|
||||
return;
|
||||
}
|
||||
A.AddrMode = BitFind (A.AddrModeSet);
|
||||
A.AddrModeBit = (0x01UL << A.AddrMode);
|
||||
|
||||
/* Build the opcode */
|
||||
/* A.Opcode = Ins->BaseCode | EATab[Ins->ExtCode][A.AddrMode] | A.Reg; */
|
||||
A.Opcode = Ins->BaseCode;
|
||||
|
||||
switch (A.AddrMode) {
|
||||
|
||||
Reference in New Issue
Block a user