psuh
This commit is contained in:
@ -1,13 +1,21 @@
|
||||
movl $-1, -1(%rbp) #constant assign
|
||||
movl -1(%rbp), %eax #assign start
|
||||
movl %eax, -2(%rbp) #assign end
|
||||
movzbl -2(%rbp), %eax #not start
|
||||
testl %eax, %eax
|
||||
setne %al
|
||||
xorl $1, %eax
|
||||
movzbl %al, %eax
|
||||
movb %al, -3(%rbp)
|
||||
andb $1, -3(%rbp) #not end
|
||||
movl -3(%rbp), %eax #assign start
|
||||
movl %eax, -4(%rbp) #assign end
|
||||
movl $1, -8(%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
|
||||
.L2:
|
||||
movl -11(%rbp), %edi #adding param start
|
||||
call printBoolean
|
||||
movl %eax, -15(%rbp) #store return from call
|
||||
.L3:
|
||||
movl -15(%rbp), %eax #assign start
|
||||
movl %eax, -19(%rbp) #assign end
|
||||
movl $1, -23(%rbp) #constant assign
|
||||
movl -23(%rbp), %eax #return $t3
|
||||
leave
|
||||
ret
|
||||
|
Reference in New Issue
Block a user