Fun 0.41.5
The programming language that makes you have fun!
Loading...
Searching...
No Matches
halt.c File Reference

Implements the OP_HALT opcode for stopping VM execution. More...

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

Go to the source code of this file.

Variables

case OP_HALT

Detailed Description

Implements the OP_HALT opcode for stopping VM execution.

This file handles the OP_HALT instruction, which stops the execution of the VM. No stack operations are performed.

Behavior:

  • Stops the VM execution immediately.

Example:

  • Bytecode: OP_HALT
  • Stack before: [42]
  • Stack after: [42]

Definition in file halt.c.

Variable Documentation

◆ OP_HALT

case OP_HALT

Definition at line 26 of file halt.c.