Fun
0.41.5
The programming language that makes you have fun!
Main Page
Data Structures
Files
File List
Globals
Loading...
Searching...
No Matches
src
vm
core
nop.c
Go to the documentation of this file.
1
/*
2
* This file is part of the Fun programming language.
3
* https://fun-lang.xyz/
4
*
5
* Copyright 2025 Johannes Findeisen <you@hanez.org>
6
* Licensed under the terms of the Apache-2.0 license.
7
* https://opensource.org/license/apache-2-0
8
*/
9
10
/**
11
* @file nop.c
12
* @brief Implements the OP_NOP opcode for no operation in the VM.
13
*
14
* This file handles the OP_NOP instruction, which performs no operation.
15
* The stack remains unchanged.
16
*
17
* Behavior:
18
* - Does nothing.
19
*
20
* Example:
21
* - Bytecode: OP_NOP
22
* - Stack before: [42]
23
* - Stack after: [42]
24
*/
25
26
case
OP_NOP
:
27
break
;
OP_NOP
@ OP_NOP
Definition
bytecode.h:36
Generated on
for Fun by
1.16.1