Logical Group - HP 9835A Programming Manual

35 series desktop computer assembly development rom
Table of Contents

Advertisement

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
., ,., . . . . {address} [;! :I]
. J. ():
: : ! {address} [,! :1]
...... :y!
1····~
Description
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 .
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
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.

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 9835A and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents