HP 9835A Programming Manual page 241

35 series desktop computer assembly development rom
Table of Contents

Advertisement

Appendix B: Machine Instructions
219
Instruction
Form
Group
Description
Page
TCA
Integer Math
Performs a two's complement of the A register
35
(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.
TCB
Integer Math
Performs a two's complement of the B register
35
(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.
WBC
{reg} [
J]
Stack
Withdraws a byte from the stack pointed at by the
43
{reg}
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.
WBD
!.'·jEIJ {reg} [,.
fJ]
Stack
Withdraws a byte from the stack pointed at by the
43
lJ·jE:D {reg} , T
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.

Advertisement

Table of Contents
loading

Table of Contents