Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
sub
;sum.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 ; sub argument y, x+y result in rax ret
run
|
edit
|
history
|
help
0
Compare data in AL and AH
dfhgjfsdsff
dfsfdsfdsfdsfasdf
Psn2
HelloWorldAssem
subtract
text.asm
Assembly 2
Hello world!
afsdfds