Added two new global options, NewlineAfterJMP and NewlineAfterRTS.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4963 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-02-05 16:03:06 +00:00
parent ae8f3d1f37
commit 7c1cd6c8d8
7 changed files with 64 additions and 17 deletions

View File

@@ -555,6 +555,9 @@ void OH_AbsoluteXIndirect (const OpcDesc* D attribute ((unused)))
void OH_Rts (const OpcDesc* D)
{
OH_Implicit (D);
if (NewlineAfterRTS) {
LineFeed ();
}
SeparatorLine();
}
@@ -563,6 +566,9 @@ void OH_Rts (const OpcDesc* D)
void OH_JmpAbsolute (const OpcDesc* D)
{
OH_Absolute (D);
if (NewlineAfterJMP) {
LineFeed ();
}
SeparatorLine ();
}
@@ -571,7 +577,10 @@ void OH_JmpAbsolute (const OpcDesc* D)
void OH_JmpAbsoluteIndirect (const OpcDesc* D)
{
OH_AbsoluteIndirect (D);
SeparatorLine ();
if (NewlineAfterJMP) {
LineFeed ();
}
SeparatorLine ();
}