Jump to content

Recommended Posts

Posted
8 hours ago, XEKEX said:

chỉnh sửa địa chỉ 9936C000 ( lệnh đẩy ) thành MOVW R0, #999
chỉnh sửa địa chỉ bên dưới nó (ADD R11 SP #16 ) thành BX LR

 One more thing, can I edit the command "MOV R5,R0" to "MOVW R0, #999" ? , Thank you

Screenshot_20230516-025154_Zombie Cubes 2.jpg

Posted
12 hours ago, LTC said:

 One more thing, can I edit the command "MOV R5,R0" to "MOVW R0, #999" ? , Thank you

Screenshot_20230516-025154_Zombie Cubes 2.jpg

no need because we end the function with bx lr :
editing push instruction with movw r0, #999 followed by bx lr in the next instruction is like we create a new function code : 

 

int new() {
return 999;
}

the remain instrunction are useless the proccessor won't read them

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.