diff options
Diffstat (limited to 'asmdiff_de.sh')
-rwxr-xr-x | asmdiff_de.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/asmdiff_de.sh b/asmdiff_de.sh new file mode 100755 index 000000000..aa42daa5e --- /dev/null +++ b/asmdiff_de.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +OBJDUMP="$DEVKITARM/bin/arm-none-eabi-objdump -D -bbinary -marmv4t -Mforce-thumb" +OPTIONS="--start-address=$(($1)) --stop-address=$(($1 + $2))" +$OBJDUMP $OPTIONS baserom_de.gba > baserom_de.dump +$OBJDUMP $OPTIONS pokeruby_de.gba > pokeruby_de.dump +diff baserom_de.dump pokeruby_de.dump |