Skip to content
David M. Bryson edited this page Jan 17, 2014 · 1 revision
<title>CPU Components : Stack</title>

Stack

Each classic CPU in Avida has two stacks used for storage of numbers. The push and pop instructions are used to move numbers between the registers and the stack, and the swap-stk instruction toggles the active stack in use.

Clone this wiki locally