implemented addrreg