objdump 187 B

1234567
  1. #!/bin/sh -x
  2. # $1 objdump parameters, $2 = source binary, $3 = target assembly file
  3. riscv32-unknown-elf-objdump $1 --wide -Mnumeric -m riscv:rv32 "$2" > "$3"
  4. head -n 128 "$3"
  5. echo "..."