3 /**********************************/
12 /* r8 = carry flag = r3 */
14 /* r11 = store data = r9 */
15 /* r29 = copy in(r3) = r0 */
16 /* r30 = copy out(r4) = r1 */
18 /**********************************/
36 //r3 is input, r4 is output
102 rlwinm. r0,r8,0,31,31
108 slwi r7,r7,1 //ROL(Y)
116 rlwinm. r0,r8,0,31,31
123 slwi r7,r7,1 //ROL(Y)
135 rlwinm. r0,r8,0,31,31
143 slwi r6,r6,1 //ROL(X)
148 slwi r5,r5,1 //ROL(A)
156 rlwinm. r0,r8,0,31,31
168 slwi r6,r6,1 //ROL(X)
192 rlwinm. r0,r8,0,31,31
198 rlwinm. r0,r8,0,31,31
204 rlwinm. r0,r8,0,31,31
209 rlwinm. r0,r5,0,24,31
217 rlwinm. r0,r8,0,31,31
223 rlwinm. r0,r8,0,31,31
231 rlwinm. r0,r8,0,31,31
244 slwi r6,r6,1 //ROL(X)
254 rlwinm. r0,r8,0,31,31
269 rlwinm. r0,r8,0,31,31