#  "as -o rep_test.o rep_test.s ; ld -o rep_test rep_test.o"
.text
	.globl _start
_start:
	mov 	$100,%edx
loop:
   mov	$512,%ecx
	mov	$data,%esi
	rep	lodsb
	dec	%edx
	jnz	loop
exit:
	xor     %ebx,%ebx		# exit(0) 
	xor	%eax,%eax
	inc	%eax	 		# put exit syscall number (1) in eax
	int     $0x80             	# and exit
.bss
.align 4096
.lcomm data, 33554432
