All pastes #290841 Raw Edit

Someone

public text v1 · immutable
#290841 ·published 2006-12-24 12:30 UTC
rendered paste body
	push	{r4, lr}
.LCFI0:
.LVL0:
	.loc 1 52 0
	lsl	r2, r2, #8
.LVL1:
	add	r2, r2, r1
	lsl	r2, r2, #15
	lsr	r2, r2, #16
	lsl	r2, r2, #1
	.loc 1 50 0
	mov	r4, r3
	.loc 1 52 0
	add	r0, r2, r0
.LVL2:
	mov	r3, #1
.LVL3:
	ldrh	r2, [r0]
	and	r1, r3
	bne	.L2
.LVL4:
	mov	r3, #255
.L4:
	and	r2, r2, r3
	lsl	r3, r1, #3
	lsl	r4, r4, r3
.LVL5:
	orr	r2, r2, r4
	strh	r2, [r0]
	.loc 1 53 0
	@ sp needed for prologue
	pop	{r4}
	pop	{r0}
	bx	r0
.LVL6:
.L2:
	.loc 1 52 0
	mov	r3, #255
	lsl	r3, r3, #8
	b	.L4