summaryrefslogtreecommitdiff
path: root/asmdiff_de.sh
diff options
context:
space:
mode:
authorgolem galvanize <golemgalvanize@github.com>2018-01-09 16:48:01 -0500
committergolem galvanize <golemgalvanize@github.com>2018-01-09 16:48:01 -0500
commitc7722a492017dbd8a5fb3bb216062eb62129daf5 (patch)
tree2a5c0ba6a6b9364aa93eb4a9a89b35153954ab63 /asmdiff_de.sh
parent2d141bc612ffecc984f6b4238c2791ba8419a192 (diff)
parent85174ad6193d3d58b92deaaedf8c510440ed85ee (diff)
fixing merge conflicts
Diffstat (limited to 'asmdiff_de.sh')
-rwxr-xr-xasmdiff_de.sh7
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