Adding init versions of all logic subfunctions.
Adding all registers.
Adding reg updates for all w registers.