Propeller (Main memory)
sanket
Posts: 28
Hello every one,
I just want to know that, Is the main memory of propeller is byte addressable or word addressable?
I mean do we need increment the program counter by 1 or by 4?
Because generally, Main memory is always byte addressable and PC needs to incremented by 4.
Does the main memory of the propeller has instruction register (IR) in the architecture?
I just want to know that, Is the main memory of propeller is byte addressable or word addressable?
I mean do we need increment the program counter by 1 or by 4?
Because generally, Main memory is always byte addressable and PC needs to incremented by 4.
Does the main memory of the propeller has instruction register (IR) in the architecture?
Comments
There is no native stack pointer (SP) or program counter (PC) register accessible by users.
The Spin VM keeps track of PC, SP, and "variable base" for objects and can be hacked.
PASM uses long instructions only, so one could say the "PC" is incremented by a long offset or 4 bytes.
Added: While the above may be conceptually correct for a piece of normal memory, the source and destination fields of an instruction count the register locations in contiguous natural numbers. In other words COG memory is an array of 512 long registers accessed with index 0 through 511.
Post Edited (jazzed) : 9/29/2009 7:16:25 PM GMT
-Phil
But in which register does processor store the 32- bit main memory data when we read something from main memory?
generally, its stores in Instruction register but for propeller architecture where these 4 byte exactly being stored when we fetch the data from the main memory?
-Phil
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Wiki: Share the coolness!
Chat in real time with other Propellerheads on IRC #propeller @ freenode.net
Safety Tip: Life is as good as YOU think it is!
you seem to stay AWAY from the manual. If you read the manual carefully you can answer 90% of your questions yourself.
best regards
Stefan
I was going to save that comment for his next question; but, yes, Sanket, Stefan is right: the manual is your friend!
-Phil
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
[noparse]:)[/noparse]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Wiki: Share the coolness!
Chat in real time with other Propellerheads on IRC #propeller @ freenode.net
Safety Tip: Life is as good as YOU think it is!
I had not ask to test any one?
And i got really stuck and i also gone through the manual and this point could not cleared by me so, i asked you guys just to get help.
That pure intension for this question is to clear that point.
I would like to thank all of you for spending your precious time.
I wish, i don't have any more doubts remained and thats why i will not give you stress any more.
Thank You once again for your help
Sanket Shah
-Phil