Skip to content

BASIC CALL Statement

Mike Hogsett edited this page Aug 29, 2024 · 4 revisions

CALL

TYPE: USB BASIC System statement


FORMAT: CALL address

Action: Causes Z80 to jump from it's current instruction location to address.

  • address must be a 16 bit signed integer in the range -32768 and 32767.
  • There must be valid machine language at address, or the Aquarius+ will crash.

Examples of CALL type:

CALL 15616

Begin executing machine code stored at memory location 15616.


S3 BASIC enhancement

  • address can be a 16 bit integer in the range -65535 and 65535 ($0000 to $FFFF).
Clone this wiki locally