added methods to set registers 0 - 9, and invoke from stc