All pastes #749471 Raw Edit

thnee

public text v1 · immutable
#749471 ·published 2007-10-25 18:37 UTC
rendered paste body
.text
        .global main

main:
        push	$3
        pop	a
        push	a # when i add these two lines the output
        pop	b # is different when i print a below
        push	a
        push	$f
        call	printf

# exit
	movl	$0, %ebx
	movl	$1, %eax
	int	$0x80

.data

f:
	.asciz  "%d\n"

.bss
	a: .byte 4
	b: .byte 4