URL
https://opencores.org/ocsvn/lattice6502/lattice6502/trunk
[/] [lattice6502/] [ghdl/] [asm2bin.pl] - Diff between revs 2 and 4
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 4 |
Line 41... |
Line 41... |
print("n is $n \n");
|
print("n is $n \n");
|
}
|
}
|
|
|
$a = 0;
|
$a = 0;
|
# while ($a < ($len - 11)) {
|
# while ($a < ($len - 11)) {
|
while ($a < ($len - 11) and ($address > 64513)) {
|
while ($a < ($len - 11) and ($address > 64511)) {
|
$byte = substr($substring, $a, 2);
|
$byte = substr($substring, $a, 2);
|
if ($n eq ($romsize - 1)) {
|
if ($n eq ($romsize - 1)) {
|
print (BINfile "X\"$byte\" ) ; \n");
|
print (BINfile "X\"$byte\" ) ; \n");
|
}
|
}
|
else {
|
else {
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.