Every person violates a section, subsection, paragraph or provision of this chapter when he performs an act thereby prohibited or declared unlawful, or fails to act when such failure is thereby prohibited or declared unlawful or performs an act prohibited or declared unlawful or fails to act when such failure is prohibited or declared unlawful by a Code adopted by reference by this chapter, and upon conviction thereof, shall be punished as for a misdemeanor except as otherwise stated in specific provisions hereof. (1988 Code § 10.99)