Fun 0.41.5
The programming language that makes You have fun
Loading...
Searching...
No Matches
jump.c File Reference

Implements the OP_JUMP opcode for unconditional jumps in the VM. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

case OP_JUMP
 break

Detailed Description

Implements the OP_JUMP opcode for unconditional jumps in the VM.

This file handles the OP_JUMP instruction, which performs an unconditional jump to a new instruction pointer location.

Behavior:

  • Sets IP to operand value
  • No stack manipulation

Used for:

  • Loops
  • Function returns
  • Conditional control flow

Definition in file jump.c.

Variable Documentation

◆ break

break

Definition at line 29 of file jump.c.

◆ OP_JUMP

case OP_JUMP

Definition at line 27 of file jump.c.