| 73 | } |
| 74 | |
| 75 | inline int cCPUStack::Get(int depth) const |
| 76 | { |
| 77 | int array_pos = depth + stack_pointer; |
| 78 | if (array_pos >= nHardware::STACK_SIZE) array_pos -= nHardware::STACK_SIZE; |
| 79 | return stack[array_pos]; |
| 80 | } |
| 81 | |
| 82 | inline void cCPUStack::Clear() |
| 83 | { |
no outgoing calls