diff options
author | Phlosioneer <mattmdrr2@gmail.com> | 2019-02-24 03:33:33 -0500 |
---|---|---|
committer | Phlosioneer <mattmdrr2@gmail.com> | 2019-02-24 03:33:33 -0500 |
commit | 62589d7003946e04355a9a8c7e2f9088e88bffa7 (patch) | |
tree | b56f516c6121a53c751bc59817526b5835296878 /asmdiff.ps1 | |
parent | a7d2d986b234b870ae06555d2a64a1d7721b9556 (diff) |
Decompiled more, ported asmdiff to powershell
Diffstat (limited to 'asmdiff.ps1')
-rw-r--r-- | asmdiff.ps1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/asmdiff.ps1 b/asmdiff.ps1 new file mode 100644 index 000000000..17a8cb8e8 --- /dev/null +++ b/asmdiff.ps1 @@ -0,0 +1,4 @@ +$objdump = Join-Path -Path "$($args[0])" -ChildPath "bin\objdump.exe" +&$objdump -D -bbinary -marmv4t -Mforce-thumb --start-address="$($args[1])" --stop-address="$($args[2])" .\baserom.gba > .\baserom.dump +&$objdump -D -bbinary -marmv4t -Mforce-thumb --start-address="$($args[1])" --stop-address="$($args[2])" .\pokeemerald.gba > .\pokeemerald.dump +Compare-Object (Get-Content .\baserom.dump) (Get-Content .\pokeemerald.dump) |