diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2017-10-02 22:04:43 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2017-10-02 22:04:43 -0400 |
commit | 10c5a7a2dda078d90ea54114559110fa68f88f9e (patch) | |
tree | 0ff58e5492b2a262a7f514a69f63dc4f314b30b1 /asmdiff.sh | |
parent | ce5ac9d782c100a5e9ed58ed7ba611565d7d7a50 (diff) | |
parent | 0fe97e838eab14723a4a38a773e2bc4d1494241e (diff) |
Merge branch 'master' into sym_bss
Diffstat (limited to 'asmdiff.sh')
-rw-r--r-- | asmdiff.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/asmdiff.sh b/asmdiff.sh new file mode 100644 index 000000000..1d2141c32 --- /dev/null +++ b/asmdiff.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.gba > baserom.dump +$OBJDUMP $OPTIONS pokeemerald.gba > pokeemerald.dump +diff baserom.dump pokeemerald.dump |