 The measure that was passed Wednesday would permit district residents to keep loaded firearms in their homes and businesses, to own semiautomatic assault weapons not prohibited by federal law, and would end both the ban on private handgun ownership and the city's firearms registration program.