400 instructions for all of: * encoding * locking/unlocking * ring buffer manip