hewlett-packard HP 9835A — 208

208 Appendix B: Machine Instructions Instruction Form Group Description Page AND CBL CBU CDC CLA CLB CLR CMA CMB CMX CMY CPA {loc} [, 1] {n} {loc} [ ] Logical Stack Stack BCD Math Shift Shift Load/Store Memory Memory BCD Math BCD Math Test/Branch Logical "and" operation. The contents of the A register are compared, bit by bit, with the contents of the specified location. For each bit comparison a a 1 results if both bits are 1 's, a results otherwise. The 16-bit result is left in A. Specifying register R4, R5, R6, or R7 causes an input bus cycle to the interface addressed by the Pa register. Indirect addreSSing may be specified. {loc} must be on base or current page. Clears the Cb register.

Specifies the lower block of memory for byte-referencing stack instructions. Sets the Cb register. Specifies the upper block of memory for byte-referencing stack instructons. Clears Decimal Carry explicitly. Clears register A. This is exactly equivalent to SAR 16. Clears register B. This is exactly equivalent to SBR 16. Clears the specified number of words, beginning at the location pOinted at by the A register. A maximum of 16 words may be cleared. Perform a one's complement of the A register (bit by bit inversion of all 16 bits). Perform a one's complement of the B register (bit by bit inversion of all 16 bits). Ten's complement of Arl.

The mantissa of Arl is replaced with its ten's complement and Decimal Carry is cleared. Ten's complement of Ar2. The mantissa of Ar2 is replaced with its ten's complement and Decimal Carry is cleared. Compares the contents of register A with the con- tents of the specified location and skips if they are unequal. Indirect addreSSing may be specified. Specifying register R4, R5, R6, or R7 causes an input bus cycle to the interface addressed by the Pa register. {loc} must be on base or current page. 41 43 43 41 41 34 41 41 45 46 37