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

Subversion Repositories vtach

[/] [vtach/] [trunk/] [asm/] [mem2mon] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 wd5gnr
#!/usr/bin/awk -f
2
# Script to convert .mem output (-v) from axasm
3
# to a script you can play back to the monitor via a terminal program
4
 
5
/@/ {
6
    add=substr($1,2)
7
    printf ("f %s \n",add);
8
    $1="";
9
    }
10
 
11
{
12
    for (i=1;i<=NF;i++)
13
        print $i
14
}
15
 
16
END {
17
    printf "\033"
18
    }

powered by: WebSVN 2.1.0

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