prime/asmdiff.sh
Luke Street dfe56fda27 Initial commit
Former-commit-id: ce247fb2645aa0e959f1354f84e51520df5c4584
2022-03-23 17:22:48 -04:00

8 lines
298 B
Bash
Executable File

#!/bin/bash
OBJDUMP="$DEVKITPPC/bin/powerpc-eabi-objdump -D -bbinary -EB -mpowerpc -M gekko"
OPTIONS="--start-address=$(($1)) --stop-address=$(($1 + $2))"
$OBJDUMP $OPTIONS baserom.dol > baserom.dump
$OBJDUMP $OPTIONS build/mp1.0/main.dol > main.dump
diff -u --color=always baserom.dump main.dump