STALL funtion is changed from function to macro.