CircuitGizmos

Electronic Products for Creative Minds

  • Home
  • Gizmo Store/Products
  • Documentation/Datasheets
  • Projects/Libraries
  • GizmoBlog
  • Services/Contact
    • Design
    • Contact Gizmo!
  • Your Gizmo Cart
    • Your Account

GOSUB

GOSUB target

Initiates a subroutine call to the target which can be a line number or a label.
The subroutine must end with RETURN.

See also:
GOTO
ON GOTO|GOSUB
RETURN

GOTO

GOTO target

Branches program execution to the target which can be a line number or a label.

See also:
GOSUB
ON GOTO|GOSUB
RETURN

ON nbr GOTO | GOSUB

ON nbr GOTO | GOSUB target[,target, target,…]

ON either branches (GOTO) or calls a subroutine (GOSUB) based on the rounded value of variable; if it is 1, the first target is called, if 2, the second target is called, etc.

Target can be a line number or a label.

See also:
GOSUB
GOTO
RETURN

A Ton of Documentation

Open all | Close all

Projects made by Gizmo, Friends, and Members

open all | close all

Recent GizmoBlog Musings

  • Altair 8800 using a ColorMax!
  • Re-energizing the ColorMax, Pt. 3

Visit us!

  • Facebook

Electronic Products for Creative Minds

CircuitGizmos is your source for electronic products that help you create your embedded projects. Here at CircuitGizmos.com you will find a friendly store filled with creative products and all of the documentation that you need to use these gizmos.

We create devices that we believe make electronics fun, but we also know that our products are used for professional designs. For decades we have designed products for commercial, military, and medical industries. Our gizmos here are great for engineers and hobbyists alike.

Copyright © 2008+ CircuitGizmos, L.L.C. All rights reserved

Image already added

Recently Viewed Products

Copyright © 2023 · Generate Pro Theme on Genesis Framework · WordPress · Log in