SUB

SUB (Subtract) is one of the 13 instruction parameters in the TIS-100 Basic Execution Node.
__TOC__
== Syntax ==
Its syntax is:
SUB <SRC>
== Description ==
The value of <SRC> is subtracted from the value of ACC and the result is stored to ACC.
== Examples ==
:SUB 16 The literal value 16 is subtracted from the value in the ACC register.
:SUB LEFT A value is read from the LEFT port, and then subtracted from ACC.
Category:Instruction parameters