ICL 1900 Series Computers

Order Codes 01x

Octal Order Code Nmenonic Execution
010 STO  X  N(M) Store the Contents of X

The contents of X are stored in N(M); if C was left set by the previous instruction, 1 is added to the result in N(M). The contents of X are unaltered.

C is used and will be left clear.

V will be set if N(M) contains #37777777 and C was set when the STO instruction came to be obeyed.

Modification This statement has an M field. When modified, the least significant 15 bits of N + M are taken as the operand. In the extended data mode, the least significant 22 bits of N + M are taken as the operand.
011 ADS  X  N(M) Add X to Store

The contents of X are added to the contents of N(M); if C was left set by the previous instruction, 1 is added to the result in N(M). The contents of X are unaltered.

C is used and will be left clear.

V will be set if overflow occurs.

Modification This statement has an M field. When modified, the least significant 15 bits of N + M are taken as the operand. In the extended data mode, the least significant 22 bits of N + M are taken as the operand.
012 NGS  X  N(M) Negative Load into Store

The complement of the contents of X is placed in N(M). If C was left set by the previous instruction, 1 is subtracted from the result in N(M). The contents of X are unaltered.

C is used and will be left clear.

V will be set if X contains #40000000 and C was not set initially.

Modification This statement has an M field. When modified, the least significant 15 bits of N + M are taken as the operand. In the extended data mode, the least significant 22 bits of N + M are taken as the operand.
013 SBS  X  N(M) Subtract from Store

The contents of X are subtracted from the contents of N(M). If C was left set by the previous instruction, 1 is subtracted from the result in N(M). The contents of X are unaltered.

C is used and will be left clear.

V will be set if overflow occurs.

Modification This statement has an M field. When modified, the least significant 15 bits of N + M are taken as the operand. In the extended data mode, the least significant 22 bits of N + M are taken as the operand.
014 STOC  X  N(M) Store the Contents of X with Carry

The contents of X are stored into N(M). If C was left set by the previous instruction, 1 is added to the result in N(M). At the conclusion of this instruction, B0 of the result will always be zero. The contents of X are unaltered.

C is used and will be set if carry occurs.

V is not used and remains unchanged.

Modification This statement has an M field. When modified, the least significant 15 bits of N + M are taken as the operand. In the extended data mode, the least significant 22 bits of N + M are taken as the operand.
015 ADSC  X  N(M) Add X to Store with Carry

The contents of X are added to the contents of N(M); if C was left set by the previous instruction, 1 is added to the result in N(M). At the conclusion of this instruction, B0 of the result will always be zero. The contents of X are unaltered.

C is used and will be set if carry occurs.

V is not used and remains unchanged.

Modification This statement has an M field. When modified, the least significant 15 bits of N + M are taken as the operand. In the extended data mode, the least significant 22 bits of N + M are taken as the operand.
016 NGSC  X  N(M) Negative Load into Store with Carry

The complement of the contents of X is placed in N(M). If C was left set by the previous instruction, 1 is subtracted from the result in N(M). The contents of X are unaltered.

C is used and will be set if carry occurs.

V is not used and remains unchanged.

Modification This statement has an M field. When modified, the least significant 15 bits of N + M are taken as the operand. In the extended data mode, the least significant 22 bits of N + M are taken as the operand.
017 SBSC  X  N(M) Subtract from Store with Carry

The contents of X are subtracted from the contents of N(M). If C was left set by the previous instruction, 1 is subtracted from the result in N(M). At the conclusion of this instruction, B0 of the result will always be zero. The contents of X are unaltered.

C is used and will be set if carry occurs.

V is not used and remains unchanged.

Modification This statement has an M field. When modified, the least significant 15 bits of N + M are taken as the operand. In the extended data mode, the least significant 22 bits of N + M are taken as the operand.