#include int add_two_numbers(int a, int b) { int result; // Inline assembly to add 'a' and 'b' and store the result in 'result' asm("addl %1, %0" // The assembly instruction (add a and b) : "=r"(result) // Output operand: store the result in 'result' : "r"(a), "r"(b) // Input operands: 'a' and 'b' are inputs : "cc"); // Clobbers: 'cc' for condition codes (affected by add) return result; } int main() { int a = 5, b = 10; int sum = add_two_numbers(a, b); printf("Sum: %d\n", sum); return 0; }