summaryrefslogtreecommitdiff
path: root/asmdiff_de.sh
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-12-28 22:14:47 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2017-12-28 22:14:47 -0500
commit9d2ee97519aa8ee3c5e5c0d11f49f5a77e4f870e (patch)
tree763431b9969206b11c5c42c7154c19ad5d21f421 /asmdiff_de.sh
parent857b166086756ccc92e58981493513a7f00920ff (diff)
parent86a36767dba19e84297047addf1d1d776e2efdec (diff)
Merge branch 'master' into slot_machine
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