Here is the entire section of the “Black Code”.
It outlawed firearms ownership by blacks:
4. PENAL LAWS OF MISSISSIPPI
Sec. 1. Be it enacted,…That no freedman, free negro or mulatto, not in the military service of the United States government, and not licensed so to do by the board of police of his or her county, shall keep or carry fire-arms of any kind, or any ammunition, dirk or bowie knife, and on conviction thereof in the county court shall be punished by fine, not exceeding ten dollars, and pay the costs of such proceedings, and all such arms or ammunition shall be forfeited to the informer; and it shall be the duty of every civil and military officer to arrest any freedman, free negro, or mulatto found with any such arms or ammunition, and cause him or her to be committed to trial in default of bail.
“The Second Amendment of the Constitution is a right for all Americans, including blacks, to protect themselves and their families from both private and public violence,” Parker told CNS.com.
The reason why the 14th Amendment was passed originally was to try and eliminate these Black Codes. In fact the whole block of Amendments passed after the Civil War, the 13th, 14th and 15th Amendments were designed to make the entire Bill of Rights encompass all the Black people in the USA. They were called the Reconstruction Amendments. The Reconstruction amendments are the Thirteenth, Fourteenth, and Fifteenth amendments to the United States Constitution, adopted between 1865 and 1870, the five years immediately following the Civil War.
Note that the NRA was founded in 1871, the country’s oldest Civil Rights group.