E556GB — 4.4.2.3 Arithmetical operation commands

Software 4.4.2.3 Arithmetical operation commands The contents of the accu is arithmetically combined with the specified operand The result of the operation is written into the accu. You can either use it for further operations or assign it to an operand. 55 Com- mand Operand No. of bytes with w/o Interm. code Proc.

time [µs] Description ADD BM00.00 100 11 6 4 8 8.0 3.0 Add byte operand Add byte constant ADDD BM00.00 1000 28 20 25 17 26.0 18.0 Add word operand Add word constant SUB BM00.00 100 13 7 10 5 8.0 3.0 Subtract byte operand Subtract byte constant SUBD BM00.00 1000 30 21 27 18 28.0 18.0 Subtract word operand Subtract word constant MUL BM00.00 100 12 9 9 7 11.0 7.5 Multiply byte operand Multipliy byte constant MULD BM00.00 1000 18 16 15 13 variable variable Multiply word operand Multiply word constant DIV BM00.00 100 17 11 14 9 12.5 7.5 Divide byte operand Divide byte constant DIVD BM00.00 1000 21 19 18 16 variable variable Divide word operand Divide word constant