Also my program "BLUE" shows instinct and emotion, as same as metacognition.
While considering emotion, "desire" should be considered at the same time. My hypothesis considers that desire is incorporated to somewhere in the neocortex as memory of genes like instinct. This is also aided by Vernon B. Mountcastle's hypothesis: all parts of the neocortex operate based on a common principle.
Based on this hypothesis, it is believed that desire is treated like an episodic memory of gene that ancestors had in the past. At this point [desire] means ex: like [want to know that I did not know].
Emotion could be considered as we consider that consciousness is based on association from memories if episodic memory and instinct are seamless.
Note (my another small hypothesis): Emotion is based on the gap between the motivation (desire) and current status.
Keyword: neuroscience, consciousness