Many provisions in the U.S. and state constitutions affect the rights of criminal defendants (see chart below for a few examples). Courts routinely interpret these provisions with regard to specific factual situations before them. Keep in mind that states can provide more constitutional protections than the U.S. constitution but not fewer.

To find identify relevant constitutional provisions, make use of the various secondary sources listed in this guide. The text of the U.S. and state constitutions can be found freely online; annotated versions can be found on Lexis and Westlaw with the jurisdiction's statutory code (see links below).
Most crimes today are codified in statutory codes, as are many laws about criminal procedure. To find relevant statutes, make use of secondary sources and/or search the statutes for the jurisdiction(s) of interest.
Courts constantly interpret constitutional provisions and criminal statutes, so finding cases is a crucial part of the research process. Ideally, you'll find relevant cases from an appellate court in your jurisdiction (best for MA would be a decision from the Supreme Judicial Court) that addresses the correct point of law and has similar facts to your situation.
Several tactics to use:
What they are: Procedural matters, such as filing motions to suppress, will be governed by the Massachusetts Rules of Criminal Procedure (or other state jurisdiction) for state cases or the Federal Rules of Criminal Procedure for federal cases. Individual courts (like the Massachusetts Superior Court or U.S. District for Massachusetts) will have their own local rules, which you also need to consult, along with any rules for the indvidual judge. Be sure to familiarize yourself with the various layers of rules.
Where to find them: Court rules are freely available on court websites, often with reporter's notes beneath the text of the rule that help with interpretation. They're also available on Westlaw and Lexis, which include reporter's notes, citing references to helpful interpretive case law, and references to helpful secondary sources.
STATE
FEDERAL