PP Arithmetic lnstructions
PP ~rithmetic
Instructions
The PP arithmetic instructions (table '4-17) perform integer arithmetic using
the PP A register contents as one operand, with the other operand specified
by
the instruction. The result replaces the original contents of A.
The
PP
considers the operands as one's complement integers and performs the arithmetic
in one's complement.
Table 4-17.
PP Arithmetic Instructions
Opcode
Format
Instruction
Mnemonic
Add d
Add dm
Add (d)
Add ( ( d l )
Add ( m + ( d ) )
Subtract d
Subtract
( d l
Subtract ( ( d ) )
Subtract ( m + ( d ) )
ADN d
ADC
m,d
ADD d
AD1 d
ADM m,d
SBN d
SBD d
SBI
d
SBM m,d
Arithmetic Add
16d
Add d
ADN
d
This instruction adds d (treated
as a
6-bit positive quantity) to the content
of the A register.
21dm
Add dm
ADC
dm
This instruction adds to the A register the 18-bit quantity consisting of d as
the upper
6
bits and m as the lower 12 bits.
The content of the location
( P
plus 1) which follows the present program address (P) is read to provide m.
Need help?
Do you have a question about the Cyber 170 State and is the answer not in the manual?
Questions and answers