TCS

Name

Transmit Carry and Subtract

Function

The accumulator is set to 9 if the carry/link is 0.
The accumulator is set to 10 if the carry/link is a 1.
The carry/link is set to 0.

Syntax

TCS

Assembled

Binary

11111001

Decimal

249

Hexadecimal

0xF9

Symbolic

../../_images/tcs-sym.png

Execution

1 word, 8-bit code and an execution time of 10.3 \({\mu}\) sec

Side-effects

Carry bit is reset

Implemented

tcs

Detailed Description

If the carry bit = 0, the accumulator is set to 9.
If the carry bit = 1, the accumulator is set to 10.

In either case, the carry bit is then reset.

The opcode for this instruction does not contain any additional data:

../../_images/tcs.png

This instruction is used when subtracting decimal numbers greater than 4 bits in length. For an example of this, see here