9-102. Questions of law addressed to court. All questions of law arising upon the trial, including the admissibility of testimony, the facts preliminary to such admission, and the construction of statutes and other writings, and other rules of evidence, are to be decided by the court when submitted and before the trial proceeds, and all discussions of law are to be addressed to the court. Whenever the knowledge of the court is by this chapter made evidence of a fact, the court is to declare such knowledge to the jury, who are bound to accept it.
[(9-102) R.S., R.C., & C.L., sec. 5951; C.S., sec. 7934; I.C.A., sec. 16-102.]