Line 1... |
Line 1... |
all: convert.exe mips.exe tracehex.exe
|
all: convert.exe mlite.exe tracehex.exe
|
|
|
convert.exe: convert.c
|
convert.exe: convert.c
|
@cl convert.c
|
@cl convert.c
|
|
|
mips.exe: mips.c
|
mlite.exe: mlite.c
|
@cl mips.c
|
@cl mlite.c
|
|
|
tracehex.exe: tracehex.c
|
tracehex.exe: tracehex.c
|
@cl tracehex.c
|
@cl tracehex.c
|
|
|
opcodes: all
|
opcodes: all
|
as -o opcodes.o opcodes.asm
|
as -o opcodes.o opcodes.asm
|
ld -Ttext 0 -eentry -Map test.map -s -N -o test.exe opcodes.o
|
ld -Ttext 0 -eentry -Map test.map -s -N -o test.exe opcodes.o
|
-@objdump --disassemble test.exe > test.lst
|
-@objdump --disassemble test.exe > test.lst
|
@convert
|
@convert
|
-@mips test2.exe BD > test.txt
|
-@mlite test2.exe BD > test.txt
|
@copy code.txt ..\vhdl
|
@copy code.txt ..\vhdl
|
|
|
test: all
|
test: all
|
as -o boot.o boot.asm
|
as -o boot.o boot.asm
|
gcc -DMIPS -Dmain=main2 -Wall -c -s test.c
|
gcc -DMIPS -Dmain=main2 -Wall -c -s test.c
|
ld -Ttext 0 -eentry -Map test.map -s -N -o test.exe boot.o test.o
|
ld -Ttext 0 -eentry -Map test.map -s -N -o test.exe boot.o test.o
|
-@objdump --disassemble test.exe > test.lst
|
-@objdump --disassemble test.exe > test.lst
|
@convert
|
@convert
|
-@mips test2.exe BD > test.txt
|
-@mlite test2.exe BD > test.txt
|
@copy code.txt ..\vhdl
|
@copy code.txt ..\vhdl
|
|
|
count: all
|
count: all
|
as -o boot.o boot.asm
|
as -o boot.o boot.asm
|
gcc -DMIPS -Dmain=main2 -Wall -c -s count.c
|
gcc -DMIPS -Dmain=main2 -Wall -c -s count.c
|
ld -Ttext 0 -eentry -Map test.map -s -N -o test.exe boot.o count.o
|
ld -Ttext 0 -eentry -Map test.map -s -N -o test.exe boot.o count.o
|
-@objdump --disassemble test.exe > test.lst
|
-@objdump --disassemble test.exe > test.lst
|
@convert
|
@convert
|
-@mips test2.exe BD > test.txt
|
-@mlite test2.exe BD > test.txt
|
@copy code.txt ..\vhdl
|
@copy code.txt ..\vhdl
|
|
|
pi: all
|
pi: all
|
as -o boot.o boot.asm
|
as -o boot.o boot.asm
|
gcc -DMIPS -Dmain=main2 -Wall -c -s pi.c
|
gcc -DMIPS -Dmain=main2 -Wall -c -s pi.c
|
ld -Ttext 0 -eentry -Map test.map -s -N -o test.exe boot.o pi.o
|
ld -Ttext 0 -eentry -Map test.map -s -N -o test.exe boot.o pi.o
|
@objdump --disassemble test.exe > test.lst
|
@objdump --disassemble test.exe > test.lst
|
@convert
|
@convert
|
-@mips test2.exe BD > test.txt
|
-@mlite test2.exe BD > test.txt
|
@copy code.txt ..\vhdl
|
@copy code.txt ..\vhdl
|
|
|
run: mips.exe
|
run: mlite.exe
|
@mips test2.exe B
|
@mlite test2.exe B
|
|
|
|
|
|
|