We're looking for your comments on how to best organize the wiki's content.
BOR arg1, arg2
BOR performs a bitwise OR on
arg2 and stores the result in
arg1. That is, the bits equal to 1 in either
arg2 become 1 in the result; all other bits are set to 0.
|Input A||Input B||Output Y|
SET A, 5 ; 0b0101 BOR A, 3 ; 0b0011 ; A is now 0b0111
 Signing dependence
In binary machine code, this Basic opcode's five-bit representation is:
0b0 1011 (
The instruction has a takes one cycle to execute, plus any additional cycles necessary to evaluate the arguments.
- DCPU-16 specification v1.1 (Copyright 2012 Mojang)
- DCPU-16 specification v1.7 (Copyright 2012 Mojang)