diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2019-07-12 17:11:58 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2019-07-12 17:11:58 -0400 |
commit | 09b94d8b342bb29f962bb3c23fb4267877df710e (patch) | |
tree | b3e465f91031ebb2e44abffb6eb074563ccd6c8b /tools/asmdiff.sh | |
parent | f64421dd8cc397f7d4551f3dc674e80a31d36631 (diff) | |
parent | ad274b9561d16589d8099a3671617e2255c1e9c5 (diff) |
Merge branch 'master' of github.com:pret/pokefirered
Diffstat (limited to 'tools/asmdiff.sh')
-rwxr-xr-x | tools/asmdiff.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/asmdiff.sh b/tools/asmdiff.sh new file mode 100755 index 000000000..a8114dc4f --- /dev/null +++ b/tools/asmdiff.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +OBJDUMP="./tools/binutils/bin/arm-none-eabi-objdump -D -bbinary -marmv4t -Mforce-thumb" +OPTIONS="--start-address=$1 --stop-address=$2" +$OBJDUMP $OPTIONS baserom.gba > baserom.dump +$OBJDUMP $OPTIONS pokefirered.gba > pokefirered.dump +diff -u baserom.dump pokefirered.dump |