debugging tic counter
fixed warning (store into register before push)