working basic reg and flags deps