Is there a C program that defines these states of a two bit branch predictor?
https://i.stack.imgur.com/zYgjg.png