sandhi contraction: 2nd sg. present indicative
Analysis. tvaṃ (nominative 2nd sg. pronoun) + asi (2nd sg. present indicative of atthi/bhavati "to be"); the final -ṃ of tvaṃ assimilates before the vowel-initial asi, yielding tvamasi in continuous speech.
Etymology. tvaṃ is the ancient 2nd sg. pronoun, cognate with Sanskrit tvam, Latin tu, Greek su, Gothic þu, English thou — all from PIE *tu-. The verb asi descends from PIE *h₁es- "to be", the same root as Sanskrit asti, Latin est, English is.
Meanings from the Digital Pāḷi Dictionary; morphology and etymology by Claude.
Lite mode — plain HTML for e-readers and old browsers. Full version