Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
sub
; sub.asm ; Group members: Atta-ur-Rheman Navaid-Munir, Eric Zhong, Michael Metzler section .text global sub sub: ; function long int sub(long int x, long int y) ; so simple, do not need to save anything mov rax,rdi ; get argument x sub rax,rsi ; subtract argument y, x-y result in rax ret
run
|
edit
|
history
|
help
0
Exp1
hello.asm
lec4c
MyFirst Program
bcfsfssdffs
hex2bcd
dsdsasdsa
Get number form input and print it
recursive
pushpop