da65: 4510 support

- cleaned up unnecessary static function
- adjusted table formatting
This commit is contained in:
Sven Oliver Moll
2016-09-23 13:10:38 +02:00
parent d0ed84c2d0
commit 2d76d0a657
2 changed files with 258 additions and 264 deletions

View File

@@ -546,24 +546,18 @@ void OH_DirectIndirectLongX (const OpcDesc* D attribute ((unused)))
static void impl_StackRelativeIndirectY (const char *sp, const OpcDesc* D attribute ((unused)))
{
/* Output the line */
OneLine (D, "($%02X,%s),y", GetCodeByte (PC+1), sp);
}
void OH_StackRelativeIndirectY (const OpcDesc* D attribute ((unused)))
{
impl_StackRelativeIndirectY( "s", D );
/* Output the line */
OneLine (D, "($%02X,s),y", GetCodeByte (PC+1));
}
void OH_StackRelativeIndirectY4510 (const OpcDesc* D attribute ((unused)))
{
impl_StackRelativeIndirectY( "sp", D );
/* Output the line */
OneLine (D, "($%02X,sp),y", GetCodeByte (PC+1));
}