summaryrefslogtreecommitdiff
path: root/jpg/getword
blob: 50ad07fe8a1bc93bb55874133639611d7a910d5d (plain)
1
2
3
4
5
6
7
getword:
	movl	datap, %edx
	movzwl	(%edx), %eax
	addl	$2, %edx
	xchgb	%al, %ah
	movl	%edx, datap
	ret