The compswap function is implemented in native assembly. Here we make the first steps to implement the function using the ARM assembly.