What would be the simplest way to directly run an assembly instruction from within a C program? For example, I stubbed out an example to do the following:
#include <stdio.h>
int plus_one_times_two(int x)
{
    // plus one -- in asm
    // argument passed in %rdi, so how to do: `inc %rdi` ? from C
    // times two -- in c
    x = x*2;
    return x;
}
int main(void)
{
    int x=5;
    int y=plus_one_times_two(x);
    printf("X: %d | (X+1)*2: %d\n", x, y);
}
 
     
    