Hello Support,
Can you please provide some concrete example of GEL Script with which I can change between ARM and THUMB mode dynamically?
Thank you.
Regards
Pashan
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello Support,
Can you please provide some concrete example of GEL Script with which I can change between ARM and THUMB mode dynamically?
Thank you.
Regards
Pashan
Hello,
There is no way to embed assembly instructions inside a gel function. However, you can write a javascript routine that uses the eval function to set the CPSR to the value that you want (including updating the T bit).
You can then add a "hotmenu" to the Scripts menu option by using the "hotmenu_addJSFunction" javascript command. I can try to put together an example for you later today using this procedure.
Regards,
Sunil