pascal code spacing

This commit is contained in:
Denis Molony 2017-06-18 08:10:55 +10:00
parent f782427d74
commit 5e7e35ed99

View File

@ -264,9 +264,8 @@ public class PascalCodeStatement implements PascalConstants
{ {
String hex = getHex (buffer, ptr, length > 4 ? 4 : length); String hex = getHex (buffer, ptr, length > 4 ? 4 : length);
StringBuilder text = new StringBuilder (); StringBuilder text = new StringBuilder ();
text.append (String.format ("%2s%05X: %-11s %-6s %-8s %s%n", text.append (String.format ("%2s%05X: %-11s %-6s %-10s %s%n",
jumpTarget ? "->" : "", ptr, hex, mnemonic, extras, jumpTarget ? "->" : "", ptr, hex, mnemonic, extras, description));
description));
if (length > 4) if (length > 4)
{ {
int bytesLeft = length - 4; int bytesLeft = length - 4;