The attorney general and reporter shall receive the same salary as an associate justice of the supreme court. The compensation of the attorney general and reporter's several assistants shall be such as may be fixed by the attorney general and reporter within the limits of the appropriation to that department. All such salaries shall be payable in equal monthly installments out of the state treasury upon the warrants of the commissioner of finance and administration.