diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2018-03-31 14:37:24 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2018-03-31 14:37:24 -0400 |
commit | 0015d6fe2c6a53c5f757599122ae9fd1a156a69f (patch) | |
tree | 81b7269c767da1ad4a5a9ac01e58ead5e92f0983 /asmdiff_de_debug.sh | |
parent | 46bc01f0dd1a3435b3c6ce71e1be0d19b7aaa5bd (diff) | |
parent | 59f81c5f2a25ec77baf4a30c3da9ccb7675d1562 (diff) |
Merge branch 'master' into contest_link_80C2020
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 |