diff options
| author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2018-01-04 22:21:39 -0500 |
|---|---|---|
| committer | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2018-01-04 22:21:39 -0500 |
| commit | 5b5fedfc78a9f2751d001a92c65be86e3ffefcc1 (patch) | |
| tree | e1357a59a3d98cf1e976f948f98d799f87a00bf3 /asmdiff_de.sh | |
| parent | ab06b56532026db85a9cba1c21c8b2235fcdf222 (diff) | |
| parent | f0e98a9204bf19981c0c9652bc9ed82ae95438e4 (diff) | |
Merge branch 'master' of https://github.com/pret/pokeruby into assert
Diffstat (limited to 'asmdiff_de.sh')
| -rwxr-xr-x | asmdiff_de.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/asmdiff_de.sh b/asmdiff_de.sh new file mode 100755 index 000000000..aa42daa5e --- /dev/null +++ b/asmdiff_de.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_de.gba > baserom_de.dump +$OBJDUMP $OPTIONS pokeruby_de.gba > pokeruby_de.dump +diff baserom_de.dump pokeruby_de.dump |
