x86-64 Arrays Inputting and Printing
问题 I'm trying to input values into an array in x86-64 Intel assembly, but I can't quite figure it out. I'm creating an array in segement .bss. Then I try to pass the address of the array along to another module by using r15. Inside that module I prompt the user for a number that I then insert into the array. But it doesn't work. I'm trying to do the following segment .bss dataArray resq 15 ; Array that will be manipulated segment .text mov rdi, dataArray ; Store memory address of array so the