[FEATURE] refactored some spin-loops and added pause instruction