0

Does the stack pointer grow up or down? Espacially in Linux/Unix and Windows

Federico klez Culloca
  • 26,308
  • 17
  • 56
  • 95
vogelmeister
  • 129
  • 1
  • 5

2 Answers2

2

It depends on the platform. On x86 it goes downwards, on ARM processors you can choose.

Federico klez Culloca
  • 26,308
  • 17
  • 56
  • 95
1

On the x86, it grows towards lower memory addresses.

user470379
  • 4,879
  • 16
  • 21