hewlett-packard HP 9835A — 219

Appendix B: Machine Instructions 219 Instruction Form Group Description Page TCA TCB WBC WBD {reg} [ J] {reg} !.'·jEIJ {reg} [,. fJ] lJ·jE:D {reg} , T Integer Math Integer Math Stack Stack Performs a two's complement of the A register (one's complement, incremented by 1). If a carry occurs, Extend is set, otherwise Extend is un- changed. If an overflow occurs, Overflow is set, otherwise Overflow is unchanged. A carry is from bit 15; an overflow occurs when complementing - 32 768. Extend and Overflow are bits in the processor. Performs a two's complement of the B register (one's complement, incremented by 1). If a carry occurs, Extend is set, otherwise Extend is un- changed.

If an overflow occurs, Overflow is set, otherwise Overflow is unchanged. A carry is from bit 15; an overflow occurs when complementing - 32 768. Extend and Overflow are bits in the processor. Withdraws a byte from the stack pointed at by the Cb and C registers and places it into the lower byte (right half) of the speCified register. Specifying register R4, R5, R6, or R7 causes an output 110 bus cycle to the interface addressed by the Pa register. Incrementing or decrementing the C register can be specified. Decrementing is the default. {reg} must l?e in the range of 0 through 31. The incrementing or decrementing routine takes place after the withdrawal.

Withdraws a byte from the stack pointed at by the Db and D registers and places it into the lower byte (right half) of the specified register. Specifying register R4, R5, R6, or R 7 causes an output 110 bus cycle to the interface addressed by the Pa register. Incrementing or decremen ting th e D register can be specified. Decrementing is the default. {reg} must be in the range of 0 through 31. The incrementing or decrementing routine takes place after the withdrawal. 35 35 43 43