The Processor and the Operating System 41 Logical Group This group of instructions performs logical (Boolean) operations upon the contents of an arithmetic accumulator (on A or B register). Logical "and" and "or" operations are available, along with complementing and clearing operations. Instruction Description ., ,., .... {address} [;! :I] Logical "and" operation. The contents of the A register are compared bit by bit, with the contents of the specified loca- tion. For each bit-comparison a 1 results if both bits are 1 's, a o results otherwise. The 16-bit result is left in A . . J. (): ::! {address} [,! :1] Logical "inclusive or" operation.
The contents of the A regis- ter are compared, bit by bit, with the contents of the specified location. For each bit-comparison, a 0 results if both bits are O's, a 1 otherwise. The 16-bit result is left in A. Performs a one's complement of the A register (i. e., bit-by-bit inversion of all 16 bits). Performs a one's complement of the B register (i.e., bit-by-bit ...... :y! 1····~ inversion of all 16 bits). Clears register A. This instruction is identical to SAR 16. Clears register B. This instruction is identical to SBR 16.