Every member of the army or air national guard not excused therefrom shall report for active service whenever so ordered or called by the President of the United States or the governor. Every member not excused therefrom shall participate in assemblies for drill and instruction at any designated armory or rendezvous, encampments, maneuvers, or other exercise, to the extent prescribed by regulations of the Department of the Army and Department of the Air Force of the United States. Failure to comply with this section shall be punishable as a court-martial may direct.