summaryrefslogtreecommitdiff
path: root/asmdiff_de.sh
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-01-04 18:50:53 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2018-01-04 18:50:53 -0500
commiteff6795887cc27f2c5139df9a6da70f4f02338b4 (patch)
treef91be2b0b7194b4ddff13f4935a0edafc4284a43 /asmdiff_de.sh
parent3ea9cff2c67b3db195c3326afc56fa0662c2327a (diff)
parentb1a7733c1cead8ed3d4a58c42d638afd0ead8ab0 (diff)
Merge branch 'master' into unk_text_8095904
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