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

Go to the source code of this file.
Functions | |
| free_value (vb) | |
| free_value (va) | |
| push_value (vm, make_int((int64_t)(uint64_t) r)) | |
Variables | |
| case | OP_BAND |
| Value | va = pop_value(vm) |
| uint32_t | a = (va.type == VAL_INT) ? (uint32_t)va.i : 0u |
| uint32_t | b = (vb.type == VAL_INT) ? (uint32_t)vb.i : 0u |
| uint32_t | r = a & b |
| break | |
Implements the OP_BAND opcode bitwise AND (uint32).
Opcode snippet included by vm.c. Performs a 32-bit unsigned bitwise AND on two integer operands from the VM stack.
Stack effects:
Notes:
Definition in file band.c.
| free_value | ( | va | ) |
| free_value | ( | vb | ) |