mirror of
https://github.com/janishutz/eth-summaries.git
synced 2026-04-28 22:29:23 +02:00
[SPCA] more assembly
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
max:
|
||||
cmpl %esi, %edi // Set condition flags
|
||||
jle .IF // Conditional jump if %edi <= %esi
|
||||
movl %edi, %edx // %edi -> return register
|
||||
jmp .ELSE
|
||||
.IF:
|
||||
movl %esi, %edx // &esi -> return register
|
||||
.ELSE:
|
||||
ret
|
||||
Reference in New Issue
Block a user