psuh
This commit is contained in:
@ -1,21 +1,31 @@
|
||||
movl $-1, -1(%rbp) #constant assign
|
||||
movl -1(%rbp), %eax #assign start
|
||||
movl %eax, -2(%rbp) #assign end
|
||||
movl $-1, -3(%rbp) #constant assign
|
||||
movl -3(%rbp), %eax #assign start
|
||||
movl %eax, -4(%rbp) #assign end
|
||||
cmpl $0, -2(%rbp) #start or
|
||||
jne .L1or2
|
||||
cmpl $0, -4(%rbp)
|
||||
je .L1or3
|
||||
.L1or2:
|
||||
movl $1, %eax
|
||||
jmp .L1or4
|
||||
.L1or3:
|
||||
movl $0, %eax
|
||||
.L1or4:
|
||||
movb %al, -5(%rbp)
|
||||
andb $1, -5(%rbp) #or end
|
||||
movl -5(%rbp), %eax #assign start
|
||||
movl %eax, -4(%rbp) #assign end
|
||||
movl $1, -9(%rbp) #constant assign
|
||||
.globl entry
|
||||
entry:
|
||||
pushq %rbp
|
||||
movq %rsp, %rbp
|
||||
subq $128, %rsp
|
||||
movl %edi, -8(%rbp) #FunctionStart1param end
|
||||
movl $-1, -9(%rbp) #constant assign
|
||||
.L1:
|
||||
movl -9(%rbp), %eax #assign start
|
||||
movl %eax, -10(%rbp) #assign end
|
||||
movl $-1, -11(%rbp) #constant assign
|
||||
.L2:
|
||||
movl -11(%rbp), %eax #assign start
|
||||
movl %eax, -12(%rbp) #assign end
|
||||
movl $-1, -13(%rbp) #constant assign
|
||||
.L3:
|
||||
.L4:
|
||||
movl $-1, -13(%rbp) #constant assign
|
||||
.L5:
|
||||
movl -13(%rbp), %eax #assign start
|
||||
movl %eax, -12(%rbp) #assign end
|
||||
movl -12(%rbp), %edi #adding param start
|
||||
call printBoolean
|
||||
movl %eax, -17(%rbp) #store return from call
|
||||
.L6:
|
||||
movl -17(%rbp), %eax #assign start
|
||||
movl %eax, -21(%rbp) #assign end
|
||||
movl $1, -25(%rbp) #constant assign
|
||||
movl -25(%rbp), %eax #return $t4
|
||||
leave
|
||||
ret
|
||||
|
Reference in New Issue
Block a user