modified put0 for arm