Minor corrections after looking at the diff.
This commit is contained in:
@@ -125,10 +125,8 @@ static const char* GetAddrArg (unsigned Flags, uint32_t Addr)
|
||||
static char Buf [32];
|
||||
if (Addr < 0x100) {
|
||||
xsprintf (Buf, sizeof (Buf), "$%02" PRIX32, Addr);
|
||||
} else if (Addr < 0x10000) {
|
||||
xsprintf (Buf, sizeof (Buf), "$%04" PRIX32, Addr);
|
||||
} else {
|
||||
xsprintf (Buf, sizeof (Buf), "$%06" PRIX32, Addr);
|
||||
xsprintf (Buf, sizeof (Buf), "$%04" PRIX32, Addr);
|
||||
}
|
||||
return Buf;
|
||||
}
|
||||
|
||||
@@ -507,7 +507,7 @@ void DefOutOfRangeLabels (void)
|
||||
** sorted by address for better readability. This is not directly
|
||||
** possible when using a hash table, so an intermediate data structure
|
||||
** is required. It is not possible to collect out-of-range labels while
|
||||
** generating them, since they may come from an info file and where added
|
||||
** generating them, since they may come from an info file and are added
|
||||
** while no input file was read. Which means it cannot be determined at
|
||||
** that point if they're out-of-range or not.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user