diff options
author | jiangzhengwenjz <jiangzhengwenjzw@qq.com> | 2019-07-15 00:04:06 +0800 |
---|---|---|
committer | jiangzhengwenjz <jiangzhengwenjzw@qq.com> | 2019-07-15 00:04:06 +0800 |
commit | 96fa1a23edaf12082034b4ef79244e6ce3dd3128 (patch) | |
tree | 969c8a73b9f5b3ecdb0f7fc13d551f73d4d70e63 /tools/asmdiff.sh | |
parent | 277726fd5e8c6da021206deeecb163f40073ff3c (diff) | |
parent | 53b950019aca8896d70c4d5e4f9e2a1d5143e489 (diff) |
Merge branch 'master' into pokemon
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 |