Re:The x86 architecture is the weirdo, part 2
by GPerson on Friday April 22, 2022 @08:53AM
(#31121010)
“ A downward-growing stack is more intuitive. To access items on a downward-growing stack, you use positive offsets; for instance, sp+0x10 could be the second stack-passed argument to a function. For an upward-growing stack, you have to use negative offsets.”
I would expect you to use negative offsets to access the previous elements.
I would expect you to use negative offsets to access the previous elements.