CR4® - The Engineer's Place for News and Discussion®


Previous in Forum: Software   Next in Forum: Current Unbalance in Three-phase Induction Motor Under No Load
Close
Close
Close
7 comments
Active Contributor

Join Date: Apr 2017
Posts: 21
Good Answers: 1

Register's Location

06/09/2018 11:37 PM

Im learning embedded system , after reading a lot of book but i still dont figure it out where is the register of microcontroller .It inside the processor or another hardware, i still dont know. Cant you guy help me. Thank you.

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Comments rated to be "almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, rate them!
Guru

Join Date: Mar 2007
Location: at the beach in Florida
Posts: 21068
Good Answers: 1218
#1

Re: Register s location

06/10/2018 12:06 AM
__________________
Life is like riding a bicycle. To keep your balance you must keep moving. A.E.
Register to Reply
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16322
Good Answers: 636
#2

Re: Register s location

06/10/2018 3:42 AM

Registers are all inside the processor part of it's architecture.
Basically all a processor can do is move numbers or bits around, subtract, and compare bits, and move numbers in and out of other hardware.
It just does it very fast and all the other functions are just variations on this.
Del

__________________
health warning: These posts may contain traces of nut.
Register to Reply
Active Contributor

Join Date: Apr 2017
Posts: 21
Good Answers: 1
#3
In reply to #2

Re: Register s location

06/10/2018 5:57 AM

For example ,in arm cortex processor, i thing there are 2 place register could be , one is bank register or memory interface. Cant you tell me where exactly all register could be... thank you

Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that, still doing it. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 12925
Good Answers: 802
#4
In reply to #3

Re: Register s location

06/10/2018 11:29 AM

Get the data sheet for the processor. Only the chip manufacturer can answer this question.

What I fail to understand is why you need to know this. I see it as only relevant if you are programming in the processor's machine or assembly language.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
Guru

Join Date: Mar 2007
Location: at the beach in Florida
Posts: 21068
Good Answers: 1218
#6
In reply to #3

Re: Register s location

06/10/2018 11:43 AM
__________________
Life is like riding a bicycle. To keep your balance you must keep moving. A.E.
Register to Reply
Guru

Join Date: Apr 2010
Posts: 6425
Good Answers: 694
#5

Re: Register's Location

06/10/2018 11:42 AM

Registers are on the microprocessor chip.

There are various kinds of memory the microprocessor can use. Registers are very close and quick to access, but there is limited space on the chip. Other memory types are slower to access but have higher capacity. It's a tradeoff of speed versus size, so all different types are used.

"There are four major storage levels.[1]

  1. InternalProcessor registers and cache.
  2. Main – the system RAM and controller cards.
  3. On-line mass storage – Secondary storage.
  4. Off-line bulk storage – Tertiary and Off-line storage."

https://en.wikipedia.org/wiki/Memory_hierarchy

Register to Reply Score 1 for Good Answer
Guru

Join Date: Mar 2007
Location: at the beach in Florida
Posts: 21068
Good Answers: 1218
#7
In reply to #5

Re: Register's Location

06/10/2018 2:43 PM
__________________
Life is like riding a bicycle. To keep your balance you must keep moving. A.E.
Register to Reply
Register to Reply 7 comments
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Comments rated to be "almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, rate them!
Copy to Clipboard

Users who posted comments:

Del the cat (1); redfred (1); Rixter (1); SolarEagle (3); trungsave96 (1)

Previous in Forum: Software   Next in Forum: Current Unbalance in Three-phase Induction Motor Under No Load

Advertisement