freemyipod / wInd3x

iPod Classic and Nano 3/4/5G bootrom exploit
GNU General Public License v2.0
209 stars 10 forks source link

allow large shiftable immediates to be encoded #13

Open lemonjesus opened 9 months ago

lemonjesus commented 9 months ago

ARM supports large immediates in instructions' operand2 field if they can be made up of 8-bit values left shifted by a multiple of two. see https://alisdair.mcdiarmid.org/arm-immediate-value-encoding/ for more details.