Welcome to the x86-64 Assembly category. This is a space to ask any x86-64 Assembly questions, discuss exercises from the Exercism x86-64 Assembly track, or explore any other x86-64 Assembly-related conversations!
Hello. Just completed the ‘Hello World’ exercise in assembly and I’ve moved on to ‘Leap’. But I’m not sure where the input is coming from and where I’m supposed to pass the output.
I just passed the ‘Leap’ exercise. In case anyone else has the same question I had, the first input to the program is stored in rdi
, and you store the output of the program in rax
. For more than one input, see this comment