28.2.58 __builtin_subab
Description
Subtracts accumulators A and B with the result written back to the specified accumulator.
For example:
volatile register int result asm("A");
volatile register int B asm("B");
result = __builtin_subab(result,B);
will generate:
sub A
Prototype
int __builtin_subab(int Accum_a, int Accum_b);
Argument
Accum_a
– Accumulator from which to subtract.
Accum_b
– Accumulator to subtract.
Return Value
Returns the subtraction result to an accumulator.
Assembler Operator/ Machine Instruction
sub
Error Messages
An error message will be displayed if the result is not an accumulator register.