—(1) In all criminal proceedings except a committal hearing, the accused may not give evidence except on oath or affirmation, and if he does so, he is liable to cross-examination.
(2) An accused who is not represented by an advocate has the right to address the court without being sworn or affirmed in circumstances where, if he were so represented, the advocate could address the court on his behalf.
(3) If an accused —
after being called by the court to give evidence or after he or the advocate representing him has informed the court that he will give evidence, refuses to be sworn or affirmed; or
having been sworn or affirmed, without good cause refuses to answer any question,
the court, in deciding whether the accused is guilty of the offence, may draw such inferences from the refusal as appear proper.
(4) This section does not compel the accused to give evidence on his own behalf, and he will not be guilty of contempt of court if he refuses to be sworn or affirmed in the circumstances of subsection (3)(a).
(5) For the purposes of this section, an accused who, having been sworn or affirmed, refuses to answer a question shall be taken to do so without good cause unless —
the court excuses him from answering it.
(6) Subsection (3) does not apply to an accused if it appears to the court that his physical or mental condition makes it undesirable for him to be called on to give evidence.