![]() | Fun 0.41.5 The programming language that makes You have fun |
Implements the OP_BNOT opcode bitwise NOT (uint32). More...

Go to the source code of this file.
Functions | |
| free_value (va) | |
| push_value (vm, make_int((int64_t)(uint64_t) r)) | |
Variables | |
| case | OP_BNOT |
| uint32_t | a = (va.type == VAL_INT) ? (uint32_t)va.i : 0u |
| uint32_t | r = ~a |
| break | |
Implements the OP_BNOT opcode bitwise NOT (uint32).
Opcode snippet included by vm.c. Performs a 32-bit unsigned bitwise NOT on a single integer operand from the VM stack.
Stack effects:
Notes:
Definition in file bnot.c.
| free_value | ( | va | ) |