diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2019-07-12 17:10:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-12 17:10:52 -0400 |
commit | ad274b9561d16589d8099a3671617e2255c1e9c5 (patch) | |
tree | eac97aaca6a507e754fa15124c89b14e495060bd /tools/asmdiff.sh | |
parent | 39d68ebd445be5657a916dec1b4872717e9c40d3 (diff) | |
parent | 185cd074035c41d4550a150139b1eeb34541ace8 (diff) |
Merge pull request #79 from gwimm/master
decompile: diploma.s
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 |