.am xx [yy]
xx
yy
Take the requests (etc.) that follow and append them to the definition of macro xx; end the append at call of .yy (or .., if yy is omitted).