mirror of
https://github.com/softwarejanitor/as65.git
synced 2024-11-21 17:32:10 +00:00
Fix address in HEX
This commit is contained in:
parent
6e2c18d8d3
commit
0e8f3e5944
1
as65.pl
1
as65.pl
@ -2043,6 +2043,7 @@ if (open($ifh, "<$input_file")) {
|
|||||||
print "%%%% Saving Symbol $symbol $operand\n" if $verbose;
|
print "%%%% Saving Symbol $symbol $operand\n" if $verbose;
|
||||||
$symbols{$symbol} = $operand;
|
$symbols{$symbol} = $operand;
|
||||||
} elsif ($ucmnemonic =~ /HEX/i) {
|
} elsif ($ucmnemonic =~ /HEX/i) {
|
||||||
|
$addr++;
|
||||||
my $symbol = $label;
|
my $symbol = $label;
|
||||||
$symbol =~ s/:$//;
|
$symbol =~ s/:$//;
|
||||||
$symbols{$symbol} = sprintf("\$%04x", $addr);
|
$symbols{$symbol} = sprintf("\$%04x", $addr);
|
||||||
|
Loading…
Reference in New Issue
Block a user