OpenCores
URL https://opencores.org/ocsvn/lattice6502/lattice6502/trunk

Subversion Repositories lattice6502

[/] [lattice6502/] [ghdl/] [asm2bin.pl] - Diff between revs 2 and 4

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    {

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.