# build script/batch-file via gcc cross-compiler and cross-binutils /opt/mips/bin/mips-idt-elf-gcc -O0 -c mult.c /opt/mips/bin/mips-idt-elf-as -o initcodeelf.o initcodeelf.s /opt/mips/bin/mips-idt-elf-ld -o mult.elf initcodeelf.o mult.o -Ttext 0x00000010 /opt/mips/bin/mips-idt-elf-objdump -d mult.elf > mult.elf.txt # # generate .rom file with method label annotations # java hades.models.mips.tools.Elf2Rom mult.elf mult.rom java hades.models.mips.basic.ElfTxtLabels2Rom mult.elf.txt mult.rom # # copies renamed to .txt for the website links # cp mult.c mult.c.txt cp mult.rom mult.rom.txt # echo "ok."