blob: 160bead6c4d777d36d2b6134b32b193ea9322a8c (
plain)
1
2
3
4
5
6
7
|
#!/bin/sh
# build test.py and show disassembly
# options:
# -M numeric,no-aliases
./test.py | tail -n +2 | ../mu/apps/hex > a.bin
riscv32-elf-objcopy -I binary -O elf32-littleriscv a.bin a.elf
riscv32-elf-objdump -D a.elf "$@"
|