Checks in place for syntax, need to be verified

Checks in place for num of registers and 0 register; syntax checking
commented out and needs to be tested