diff options
author | Marcus Huderle <huderlem@gmail.com> | 2018-04-05 18:41:42 -0700 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2018-04-05 18:41:42 -0700 |
commit | 66367c82ef07c10957d45ce7f0f776a178454e18 (patch) | |
tree | 0dd4fcd5cce3ef14dae4fc9ae91e54c6e070eef6 /asmdiff_de_debug.sh | |
parent | 171dd32df8a56e1f10956be8b944cb216edb8f9d (diff) | |
parent | 781d0ca44c8eab2b7751fe8f337d6acde7fe8582 (diff) |
Merge remote-tracking branch 'upstream/master' into btl_attrs
Diffstat (limited to 'asmdiff_de_debug.sh')
-rwxr-xr-x | asmdiff_de_debug.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/asmdiff_de_debug.sh b/asmdiff_de_debug.sh new file mode 100755 index 000000000..837b88cd2 --- /dev/null +++ b/asmdiff_de_debug.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_debug.gba > baserom_de_debug.dump +$OBJDUMP $OPTIONS pokeruby_de_debug.gba > pokeruby_de_debug.dump +diff baserom_de_debug.dump pokeruby_de_debug.dump |