diff options
| author | dheu <gwimminus@gmail.com> | 2019-07-08 17:50:20 +0800 |
|---|---|---|
| committer | dheu <gwimminus@gmail.com> | 2019-07-08 18:12:33 +0800 |
| commit | 2b92e8f9d4809d5dea009de5805bc1d8aa195f24 (patch) | |
| tree | 139fd00cfed8b5bf1bf711c1cd609e5b98a3c2d7 /tools | |
| parent | 78925baf89a9c02745ed82125d44e5a4fffba1cd (diff) | |
fix: ld_script.txt, tabs vs spaces & add: asmdiff.sh
Diffstat (limited to 'tools')
| -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 |
