
The Push chip stores instructions or data onto the memory stack, enabling your ChipWit to remember important information for later use. It can save Things, Numbers, Directions, and Registers to enhance your ChipWit’s programming flexibility.
Specifications #
- Arguments: Things (Good, Bad, Environmental), Numbers, Directions, Registers)
- Creates a True or False Branch?: No, Push does not create a T/F branch
- Number of Cycles Used: 1
- Fuel: 1
Example of Use #
Imagine your ChipWit needs to remember that it passed by a Pie. You could use Push Thing to save the Pie in the stack. Later, using the memory stack, the ChipWit can recall the Pie and use that information to complete the mission.
How Push Works #
- Storing Data: The Push chip sends a value (such as a number or Thing) to the top of the stack, where it is stored until needed.
- Stack Memory: The stack operates on a “last in, first out” (LIFO) principle, meaning the most recent item pushed will be the first one retrieved when using the Pop operator.
Why Push is Important #
- Flexibility: Push allows you to store important values during your ChipWit’s routine and retrieve them later, offering dynamic programming solutions, especially with loops and conditionals.
- Advanced Programming: Push is useful for complex instructions, such as remembering directions to retrace paths or storing Things for future use in your program.
Push adds strategic depth to your ChipWit’s programming by allowing it to “remember” important data and react to it later in the mission.

You can save Things, Moves, and Numbers to the Stack.