Skip to content
ChipWits Robot Coding Game
  • Home
  • About
  • Devlog
  • Team
  • Retro
    • ChipWits Emulator
    • Nostalgia
  • Sign Up
Demo + Wishlist
Demo + Wishlist
ChipWits Robot Coding Game
  • Home
  • About
  • Devlog
  • Team
  • Retro
    • ChipWits Emulator
    • Nostalgia
  • Sign Up

IBOL

40
  • CREATED CHIP SOLUTIONS REMAIN IN THE WORKSHOP GRID
  • SHARING YOUR CHIPWIT (IBOL CODES)
  • LOCKED CHIPS
  • JUNCTION
  • IF THING EQUALS
  • CONNECTORS
  • ACTION CHIPS
  • CONTROL CHIPS
  • SENSING CHIPS
  • STACK CHIPS
  • REGISTERS
  • CHIPS (FUNCTION AND HOW TO BUILD THEM)
  • ARGUMENT
  • OPERATOR
  • Operators
    • IF THING EQUALS
    • CYCLES AND FUEL COST LIST
    • SUBPANEL (OPERATOR)
    • PUSH NUMBER
    • PUSH THING
    • IF NUMBER EQUALS
    • IF NUMBER IS LESS THAN
    • POP
    • PUSH DIRECTION
    • IF DIRECTION EQUALS
    • DECREMENT
    • OPERATOR
    • INCREMENT
    • PUSH (OVERVIEW)
    • BOOMERANG
    • IF KEY
    • LOOP
    • IF HEADS
    • STOPLIGHT (CLASSIC MISSIONS)
    • SKATE
    • ZAP
    • SING
    • IF SMELL
    • PICKUP
    • IF FEEL
    • IF SEE

Controls and Settings

4
  • BASIC KEYBOARD CONTROLS AND KEYBOARD SHORTCUTS
  • BASIC MOUSE CONTROLS
  • YOUR CHIPWIT (GAME SETTINGS)
  • CAMERA CONTROLS

Advanced Programming

13
  • SUBPANEL (OPERATOR)
  • PUSH THING
  • IF THING EQUALS
  • PUSH NUMBER
  • IF NUMBER EQUALS
  • IF NUMBER IS LESS THAN
  • POP
  • MEMORY STACK
  • STACK CHIPS
  • PUSH DIRECTION
  • IF DIRECTION EQUALS
  • PUSH (OVERVIEW)
  • REGISTERS

Characters

1
  • PROFESSOR CHIP

Starting Information

1
  • STARTING INFORMATION LIST

Workshop and Playing

26
  • CREATED CHIP SOLUTIONS REMAIN IN THE WORKSHOP GRID
  • FUEL (ENERGY)
  • ENVIRONMENTAL THINGS
  • BAD THINGS
  • TYPES OF DAMAGE
  • HEALTH
  • CYCLES
  • SENSING CHIPS
  • LOCKED CHIPS
  • ACTION CHIPS
  • STACK CHIPS
  • CONTROL CHIPS
  • CONNECTORS
  • CHIPS (FUNCTION AND HOW TO BUILD THEM)
  • WORKING WITH CHIPS IN THE WORKSHOP
  • SHARING YOUR CHIPWIT (IBOL CODES)
  • WORKSHOP AND PLAY AREA
  • RESTART BUTTON
  • STEP BUTTON
  • WORKSHOP PROGRAMMING TOOLS BUTTONS AND WORKSHOP MENU
  • PLAY/PAUSE BUTTON
  • GAME SPEED SLIDER
  • DELETE (WORKSHOP RADIAL MENU)
  • STARTING POSITION RULE
  • MAIN PANEL AND SUBPANELS
  • RADIAL WORKSHOP MENU

Missions

12
  • FUEL (ENERGY)
  • ENVIRONMENTAL THINGS
  • BAD THINGS
  • GOOD THINGS
  • TYPES OF DAMAGE
  • CYCLES
  • HEALTH
  • MISSION OBJECTIVES
  • SELECT A MISSION SCREEN
  • PUZZLE MISSIONS
  • DR. DROOG CAMPAIGN MISSIONS
  • CLASSIC MISSIONS
View Categories
  • Home
  • Docs
  • Advanced Programming
  • PUSH NUMBER

PUSH NUMBER

The Push Number chip allows your ChipWit to push a specific number onto the stack, where it can be used later for comparisons, arithmetic operations, or decisions. This number stays on the stack until your ChipWit performs an operation that uses or modifies it.


Specifications #

  • Argument: Numbers 0-7, Damage Register, Range Register, Fuel Register
  • Creates a True or False Branch?: Yes, it does create a T/F branch
  • Number of Cycles Used: 1
  • Fuel: 1


Why the Push Number Chip Matters #

  • Stack-Based Programming: The Push Number chip is key to stack-based logic in ChipWits, allowing your ChipWit to store numerical values temporarily for future use.
  • Flexible Applications: You can use the numbers stored by Push Number for tasks like comparisons (using If Number Equals or If Number is Less Than), loops, or as counters to control how many times an action should repeat.
  • Efficient Number Handling: This chip makes it easy to manage numerical data without needing to store values elsewhere in your program, keeping everything compact and organized.


How to Use the Push Number Chip #

  • Place the Push Number chip in your program and specify a number to push onto the stack (e.g., 0, 5, etc.)
  • Once the number is on the stack, it can be used in other operations like If Number Equals or Increment and Decrement.
  • Each time the Push Number chip is executed, the number is stored on the stack, ready for later instructions.


Example of Use #

  • Imagine your ChipWit needs to repeat an action 5 times. You could use the Push Number chip to store the number 5 on the stack.
  • Next, you could use a loop combined with Decrement and If Number Equals to count down from 5 to 0, performing the action each time.

The Push Number chip is essential for more advanced logic and math in your ChipWit’s programming, providing a way to work with numerical values dynamically.



History #

“Push Number” as it appears in various historic incarnations of ChipWits!

COMMODORE 64:


MANUAL:
“An argument is saved or “pushed” on the top of a Stack using the Save Number Operator. “



APPLE II:


MANUAL:
“SAVE NUMBER commands the ChipWit to put a value into the Number Stack. This is the way the ChipWit makes the list of values that constitutes the Number Stack. Uses of the Number Stack are discussed in Chapter II.
The Arguments for SAVE NUMBER are the numbers you want the robot to put into the stack. They are the numbers 0 through 7 (as represented by the beakers), the values from the Fuel and Damage Meters, and the current reading from the Range Finder.”



MAC:


MANUAL:
“SAVE NUMBER commands the ChipWit to put a value into the Number Stack. This is the way the ChipWit makes the list of values that constitutes the Number Stack. Uses of the Number Slack are discussed in Chapter II.
The Arguments for SAVE NUMBER are the numbers to be put into the stack. They are the numbers 0 through 7 (as represented by the beakers), and the values from the Fuel and Damage Meters, and the current reading from the Range Finder.”



CHIPWITS II (WIN 95):








Related #

Updated on November 13, 2024

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest

Powered by BetterDocs

Leave a ReplyCancel reply

Table of Contents
  • Specifications
  • Why the Push Number Chip Matters
  • How to Use the Push Number Chip
  • Example of Use
  • History

Join Our Mailing List!

Are you interested in learning more about ChipWits and tracking our development? Provide your name and email address below to join our mailing list.
We respect your email address and don’t spam. You can unsubscribe at any time. We generally send a short email about the game once every week or two.

Check your inbox or spam folder to confirm your subscription.

Copyright © 2026 ChipWits, Inc.

  • Contact
  • Press Kit
  • Privacy Policy
  • Terms of Use
 

Loading Comments...