Cycle Through and Print argv[] in x64 ASM
问题 I have been working on essentially a while loop to go through all CLI arguments. While working on solution to only print 1 element I noticed a few things; this was the thought process that led me to here. I noticed that if I did lea 16(%rsp), %someRegisterToWrite , I was able to get/print argv[1]. Next I tried lea 24(%rsp), %someRTW and this gave me access to argv[2]. I kept going up to see if it would continue to work and it did. My thought was to keep adding 8 to %someRTW and increment a