global _start

section .data
s: db 'abcd'
n: dd 2
size: dd 4
section .text

_start: nop
	mov ecx, 0	
	mov ebx, [n]
	mov edx, [s]

for:	cmp ebx, [size]
	jge end
		mov byte [s+ebx], 0
		inc ebx
		jmp for	
		
end:
	mov eax, 1
	mov ebx, 0
	int 0x80


