knoting m shift register