ADD do an addition on two registers to save it on another (the first register you give in the format is the register that will contain the operation).
Format: ADD Re, Ra, Rb``
Example:ADD R3, R1, R2
ADD R3, R1, R2
SUB subtract two registers to save it on another (the first register you give in the format is the register that will contain the operation).
Format: SUB Re, Ra, Rb
SUB Re, Ra, Rb
Example: SUB R3, R1, R2
SUB R3, R1, R2
There was an error while loading. Please reload this page.