( ) . (, PowerPC) HW-. , : Pre-incrementing, post-incrementing. - -.
PPC , , .
PPC 2 - " " . , - .
pre-increment: the stack pointer is incremented until the last stack item in the push stack pointer is stored. It can be seen in several stranger 8-bit architectures (some fourth processors, etc.).
post-incrementing: saving is performed before the stack pointer increment - the stack pointer points to the first element of the free stack.
before and after decrements: similarly higher, but the stack grows down (more often).
The most common is post-decrement.
source
share