Blame view

ref-impl/x/ex1.as 445 Bytes
f2c4dc81   Salvador Abreu   added most of the...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
	.globl	readInt
	.globl	writeInt
	.globl	readBool
	.globl	writeBool
	.globl	ex1
	.text
ex1:
# args:   8 bytes
# result: 4 bytes
# locals: 8 bytes
# temps:  8 bytes
#
#     a:	argument (4 bytes)	at (ap)
#     b:	argument (4 bytes)	at -4(ap)
#     i:	local    (4 bytes)	at -4(fp)
#     j:	local    (4 bytes)	at -8(fp)
#
	movl	sp, fp
	subl2	$16, sp
	movl	$1, -16(fp)
	movl	$2, -16(fp)
	movl	-16(fp), -4(fp)
	movl	-16(fp), -8(fp)
	movl	fp, sp
	rsb