Status register consists of single bit flags for results of `rax`. It is called `EFLAGS` in 32 bit, in 64 bit it is called `RFLAGS`.
Some of the flags are the following
* *Zero Flag*, result of the last executed instruction evaluated to zero
* *Carry Flag*, if a calculation in a register leads to a higher value than the register is capable to display, the CF would be set to 1
* *Sign Flag*, an SF of 1 indicates a negative value, 0 a positive value
* *Trap Flag*, 1 indicates debugging mode
## Segment Registers
16 bit register, references to memory
* Code Segment (CS) points to code section
* Data Segments (DS) points to data section
* Stack Segment (SS) points to stack
* Extra Segments (ES,FS,GS) divide program's memory into four data sections
## Prologue and Epilogue
Preparation begins on the stack, when a function is called.
Arguments are pushed on the stack before the function is executed.
The return address of the caller is pushed before the base pointer of the frame.
The callers base pointer pointer is pushed and then the base pointer is to the stack pointer currents address.
Afterwards the stack pointer moves with the pushed and pulled values of the function on the stack.
When the functions finished the saved base pointer is popped into the bp register and the return address is popped of to rip. The stack is set to the top of the stack once again.