View Single Post
Old 05-28-2019, 09:26 PM   #4
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,805
Karma: 7423683
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by jackie_w View Post
I would prefer an even bigger indent if that is possible - maybe multiply by 8 rather than 4? - if the indents are going to be space-characters. I'm assuming this is the patch line which would need to be customised but I don't have a clue what to change it to. Or is it not as simple as that?
You can multiply it by any power of 2. You'd want to replace that replacement with a LSL instruction like: LSL r2, r0, #x , where x is the power of 2 (2^x) to multiply it by. To make it multiply by 8, you'd want 3 to be the power, which gives you C2 00. You can compile the instruction online using http://armconverter.com/, and taking the Thumb Hex output.

Last edited by geek1011; 05-29-2019 at 03:32 PM.
geek1011 is offline   Reply With Quote