implemented ls in ARM mode