robomon
robomon

Reputation: 276

Does a Dual Core ARM CPU have two Program counters ? [bare metal multi core programming]

I want to do baremetal programming on a Dual-core A20 AllWinner ARM CPU. I don't have much experience on multi core programming. I have a question regarding bare metal multi core programming.

My assumption is that a Dual Core CPU will have two Program counters so that I can point them to two different codes and run them in parallel.

Is this true ? Could any one explain how is it in the case of an Dual-core A20 Allwinner CPU ?

Upvotes: 1

Views: 778

Answers (1)

robomon
robomon

Reputation: 276

Yes. A dual core CPU will have 2 sets of same registers i.e one set for CPU0 and another set for CPU1.

Upvotes: 4

Related Questions