add

Assembly Syntax

add regrs1, reg_or_imm, regrd

op3

000000

Operation

Adds the contents of register regrs1 to the contents of a register or to an immediate number reg_or_imm and places the result in register regrd

Comments

none

Example

add %r1,%r2,%r3

Instruction format

Instruction format

Home Page Index Page All Arithmetic Instructions