Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
mult
; mult.asm ; Group members: Atta-ur-Rheman Navaid-Munir, Eric Zhong, Michael Metzler section .text global mult mult: ; function long int mult(long int x, long int y) ; so simple, do not need to save anything mov rax, rdi ; get argument x mov rdx, rsi mul rsi ; multiply argument y, x*y result in rax mov rsi, rax ret
run
|
edit
|
history
|
help
0
Exp1
learning assembly with rextester
FirstProgram
fdsafddfasfdsasafd
dsasdfdsdfs
hello.asm
sdffdsafdsfsda
dKleinhen Lab #1
Output in a bit more true assembly
sub