ARM support: refactor load