top of page

How to Insert ASM

1.10

How to insert ASM routines / code using HMA.

HMA Discord Link 1.png

Credits

YeahPotato

Invis


Step 1

Find some freespace in HMA to insert your ASM

Step 2

Select the first byte in the row

Change to Code on the left side of HMA

Then select Thumb from the drop-down menu

Step 3

Copy & paste your ASM into the field on the left, you should see the bytes populate on the right side of your screen

Step 4

The command callasm <offset+1> can be used to call your ASM in a script


Example: If your code is at 740000, use callasm <740001>


NOTE: When pasting your routine, if you see two 00 bytes only, try pasting your code into an app like Notepad first and then into HMA. Pasting code directly from Discord often does not work

ree



Happy Hacking!

 


Previous
Next
bottom of page