mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-14 00:01:13 -05:00
add: asmdiff.sh
This commit is contained in:
parent
78925baf89
commit
bfcf484509
7
tools/asmdiff.sh
Executable file
7
tools/asmdiff.sh
Executable file
|
|
@ -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
|
||||
Loading…
Reference in New Issue
Block a user