Assuming y already has some value and you want to add a0 to it and store the result back in y, you can simply do:
main.m12 chars2 lines
Here, the previous value of y is added to a0 and the resulting sum is stored back in y.
main.m0 chars1 lines
gistlibby LogSnag