replaced xchg calls with compiler inbuilt function (does the same on x86, but NOT on arm :()
moved the not implemented functions to cpp and added a warning to them... and halt implemented in inline asm
moved asm methods in arm folders to c/c++