add arm cpu mode and registers