also support arm6 and arm7