implementing relative goto in secd machine