git.s-ol.nu subv / master disasm.sh
master

Tree @master (Download .tar.gz)

disasm.sh @masterraw · history · blame

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 "$@"