No idea about the first question as I don't use the Prop tool. For sure the other tools, BST etc, will tell you your program is too big when you try to put it in your Prop. Easy.
Your second question makes no sense to me at all. When you call a method that is how your program flow goes. Never mind what is or is not included in the HUB image.
However, users of the Prop Tool from Parallax are used to the idea that all the code they write ends up compiled and included into the HUB image that gets down loaded to the Prop. No matter if some methods are never used in the running program.
BST users, on the other hand, may be used to the idea that BST has an option to not include methods that are not actually called somewhere in the program. Thus saving HUB space when methods are unused.
For beginners there is no such information provided because including all the code you write is what the Prop Tool puts in HUB and is the simplest thing to expect it to do.
By the time you get to filling up your Propeller you are no longer a beginner and end up here on the forum asking such questions. At which point you may get directed to BST or HomeSpun which are not Parallax products.
The first batch of books have been mailed with 80 pages of documented code in a file .
Parallax was sent a copy. They have ackowledged receipt.
Turns out postage in US is $3
Canada $11. I charged nothing extra
Rest of the world $22. I charged $10 only
Hope we have some reviews by the end of next week
That should do it for now.
H
My book arrived, thanks! for that. It looks good and although my time is limited I've started to dig in.
I did notice a reference to a Professional Development Board (PDB)(pages 37,39,40 to mention a few)
Listed in the Parallax Store here: http://www.parallax.com/Store/Microcontrollers/BASICStampModules/tabid/134/ProductID/123/List/1/Default.aspx?SortField=UnitCost,ProductName Professional Development Board (#28138)
The Parallax Professional Development Board (PDB) is high-quality, fully-integrated development platform
for BASIC Stamp®
, Javelin Stamp, and SX28AC/DP microcontrollers. A wide variety of typical I/O
(LEDs, LCD interface, buttons, etc.) devices and circuitry are built into the PDB, providing the developer
with an ideal platform for rapid microcontroller project development
Propeller Professional Development Board
(#32111)
Introduction
The Propeller Professional Development Board (PPDB) is a high-quality, fully-integrated development
platform for the Propeller microcontroller. A wide variety of typical I/O (LEDs, Buttons, etc.) devices and
circuitry are built into the PPDB, providing the developer with an ideal platform for rapid Propeller project
I think that most people would figure it out before they ordered a board and get the incorrect one but I thought I would mention it just in case.
For what it's worth, I transferred Harprits PASM code from the Open Office document to standard SPIN files. I tried to be careful during the copy procress, but I make no guarantees as I have not tested each file and even if I did, I still dont really know what I am doing!
Regards,
Steve
I could not open Steves' file so I do not know if it is good bad or indifferent.
However, the close to 100 pages of heavily documented code in the original file,
that is being provided to all book recipients, is very closely
referenced to and from the text pages and is not suitable
for stand alone viewing. It will not make much sense without the text.
It supports the text in this particular book only.
All the code can be cut and pasted to the propeller tool and all formatting
will be preserved if it is left as is.
It does not have to be converted to anything.
If Steve can withdraw his post I request that he do so.
It will only add to the confusion in a not easy to understand subject.
If errata are issued they will reference only the original file.
I could not open Steves' file so I do not know if it is good bad or indifferent.
FWIW, it opened fine here. If it's copyrighted, though, perhaps it shouldn't be made available this way. I haven't purchased a book. I was just intrigued because Harprit said it wouldn't open.
Confession!
It would not open for me because for other software I have needs an old Op Sys.
I am still running Windows 2000!!!!
My archaic versions of AutoCad and Pro-E ($10,000 or so to update) need the older Op Sys.
The files are probably just fine but will not reflect any updates I issue
Besides, we don't need more than one set of files floating around.
Removal would be prudent.
H
Hmmm... I wonder if Assembly for beginners on the Propeller would be a more appealing focus that Propeller Assembly for beginners.
You may think I am being silly or clever, but the beginner really wants to be empowered by a general overview, not just one platform at a time.
I would have to respectfully submit that this is a Parallax forum, and a Propeller sub forum. It IS platform specific. If someone was looking for help with PASM, this is where they would come.
General assembler questions could be answered here:
Alarus: I am not quite sure what you are trying to achieve from the sample.
Here is some of my code from my P2 debugger which may help (note cmpr is not a valid instruction on P1)
_LmmAscii
cmp lmm_x, #" " wc ' c if <$20: visible?
if_nc cmpr lmm_x, #"~" wc ' c if >$7E: visible? <---- you will need to change this to a cmp
if_nc jmp #visible ' visible so display
mov lmm_v, lmm_x ' save char
mov lmm_x, #"<" ' "<"
CALL DisplayChar
shl lmm_v, #24 ' prep for displaying 2 hex nibbles
CALL DisplayNibble
CALL DisplayNibble
mov lmm_x, #">" ' ">"
CALL DisplayChar
DisplayNibble
rol lmm_v, #4 ' to next nibble
mov lmm_x, lmm_v ' copy value
and lmm_x, #$0F ' extract nibble
or lmm_x, #"0" ' make numeric
cmp lmm_x,#":" wc ' c if <$3A
if_nc add lmm_x,#("A"-"9"-1) ' convert to A-F if reqd
CALL DisplayChar
DisplayNibble_ret
ret
I would have to respectfully submit that this is a Parallax forum, and a Propeller sub forum. It IS platform specific. If someone was looking for help with PASM, this is where they would come.
General assembler questions could be answered here:
I personally did not make much headway with Assembly Language programming on the SX chip or the Propeller until I grasped that Loops were backward branches and that is why machine language doesn't include looping.
Procedural tutorials for one platform tend to not always provide empowering overview.
New users just might also come to the Propeller to learn Assember because Parallax provides a more informative approach rather than 'what others do'. Everyone in the world provides a 'platform specific' tutorial for assembler for their in-house product.
But Parallax claims to have an educational mission. Teach the fundamentals and concepts that allow transferable skills to be applied may not please 'the marketing department', but it just may be translated into more popularity and more actual cash paying customers.
I mentioned this because I think it would be good for Parallax's bottom line.
Users flocked to the BasicStamp2 because it was informative.
The deafening silence speaks volumes.
The only reference to this book found by Google is in this thread.
Is anyone (other than the author) willing to comment on the quality of the book for its intended audience?
Honestly, I think it's rough and needs some serious editing before I would consider it of commercial quality. In many cases it feels like the author is repeating things he's seen in this thread and doesn't understand them himself. This may just be a styling issue which copy-editing could address but regardless, it was the impression I was left with.
Honestly, I think it's rough and needs some serious editing before I would consider it of commercial quality. In many cases it feels like the author is repeating things he's seen in this thread and doesn't understand them himself. This may just be a styling issue which copy-editing could address but regardless, it was the impression I was left with.
I also picked up this book, I was looking for something on PASM and this was the only one I found. I have to agree with red, its current state is that of a draft, many spelling and general errors are distracting at least for me to keep with the flow of the book. There is also a little repetition as it seems things were moved around but the original part not removed. Overall I think it was helpful, I am about half way done with the book. It has a lot of well documented code and examples that are easy to follow.
Comments
No idea about the first question as I don't use the Prop tool. For sure the other tools, BST etc, will tell you your program is too big when you try to put it in your Prop. Easy.
Your second question makes no sense to me at all. When you call a method that is how your program flow goes. Never mind what is or is not included in the HUB image.
However, users of the Prop Tool from Parallax are used to the idea that all the code they write ends up compiled and included into the HUB image that gets down loaded to the Prop. No matter if some methods are never used in the running program.
BST users, on the other hand, may be used to the idea that BST has an option to not include methods that are not actually called somewhere in the program. Thus saving HUB space when methods are unused.
For beginners there is no such information provided because including all the code you write is what the Prop Tool puts in HUB and is the simplest thing to expect it to do.
By the time you get to filling up your Propeller you are no longer a beginner and end up here on the forum asking such questions. At which point you may get directed to BST or HomeSpun which are not Parallax products.
The books just arrived at my house.
Too late to mail today
Will go out on Monday, first thing.
Thank you again to every one that helped me get the job done.
Harprit
Notable Propeller Assembly:(http://www.parallax.com/portals/0/propellerqna/Content/QnaTopics/QnaAssembly.htm)
Where does Assembly code reside and where does it get processed:(http://www.parallax.com/portals/0/propellerqna/Content/QnaTopics/QnaAssembly.htm)
How to indicate the end of Assembly code?" " " "
The first batch of books have been mailed with 80 pages of documented code in a file .
Parallax was sent a copy. They have ackowledged receipt.
Turns out postage in US is $3
Canada $11. I charged nothing extra
Rest of the world $22. I charged $10 only
Hope we have some reviews by the end of next week
That should do it for now.
H
My book arrived, thanks! for that. It looks good and although my time is limited I've started to dig in.
I did notice a reference to a Professional Development Board (PDB) (pages 37,39,40 to mention a few)
Listed in the Parallax Store here:
http://www.parallax.com/Store/Microcontrollers/BASICStampModules/tabid/134/ProductID/123/List/1/Default.aspx?SortField=UnitCost,ProductName
Professional Development Board (#28138)
The Parallax Professional Development Board (PDB) is high-quality, fully-integrated development platform
for BASIC Stamp®
, Javelin Stamp, and SX28AC/DP microcontrollers. A wide variety of typical I/O
(LEDs, LCD interface, buttons, etc.) devices and circuitry are built into the PDB, providing the developer
with an ideal platform for rapid microcontroller project development
but of course it is showing a picture of thePropeller Professional Development Board (PPDB)
Listed in the Parallax Store here:
http://www.parallax.com/Portals/0/Downloads/docs/prod/prop/32111-Propeller%20Professional%20Development%20Board.pdf
Propeller Professional Development Board
(#32111)
Introduction
The Propeller Professional Development Board (PPDB) is a high-quality, fully-integrated development
platform for the Propeller microcontroller. A wide variety of typical I/O (LEDs, Buttons, etc.) devices and
circuitry are built into the PPDB, providing the developer with an ideal platform for rapid Propeller project
I think that most people would figure it out before they ordered a board and get the incorrect one but I thought I would mention it just in case.
Ok, back to learning.
Regards,
Steve
However, the close to 100 pages of heavily documented code in the original file,
that is being provided to all book recipients, is very closely
referenced to and from the text pages and is not suitable
for stand alone viewing. It will not make much sense without the text.
It supports the text in this particular book only.
All the code can be cut and pasted to the propeller tool and all formatting
will be preserved if it is left as is.
It does not have to be converted to anything.
If Steve can withdraw his post I request that he do so.
It will only add to the confusion in a not easy to understand subject.
If errata are issued they will reference only the original file.
Harprit.
FWIW, it opened fine here. If it's copyrighted, though, perhaps it shouldn't be made available this way. I haven't purchased a book. I was just intrigued because Harprit said it wouldn't open.
It would not open for me because for other software I have needs an old Op Sys.
I am still running Windows 2000!!!!
My archaic versions of AutoCad and Pro-E ($10,000 or so to update) need the older Op Sys.
The files are probably just fine but will not reflect any updates I issue
Besides, we don't need more than one set of files floating around.
Removal would be prudent.
H
H
Is it really so difficult (to figure out)? Especially Z ...
You may think I am being silly or clever, but the beginner really wants to be empowered by a general overview, not just one platform at a time.
I would have to respectfully submit that this is a Parallax forum, and a Propeller sub forum. It IS platform specific. If someone was looking for help with PASM, this is where they would come.
General assembler questions could be answered here:
http://en.wikipedia.org/wiki/Assembly_language
I just came up with this:
Here is some of my code from my P2 debugger which may help (note cmpr is not a valid instruction on P1)
Update: if the input can get away with lower case (e.g. 'a'..'f') the this will do:
Ray
It's available. You can contact Harprit through his profile above..
Bob
Paypal only to harprit.sandhu@gmail.com
H
Well, each to his own point of view.
I personally did not make much headway with Assembly Language programming on the SX chip or the Propeller until I grasped that Loops were backward branches and that is why machine language doesn't include looping.
Procedural tutorials for one platform tend to not always provide empowering overview.
New users just might also come to the Propeller to learn Assember because Parallax provides a more informative approach rather than 'what others do'. Everyone in the world provides a 'platform specific' tutorial for assembler for their in-house product.
But Parallax claims to have an educational mission. Teach the fundamentals and concepts that allow transferable skills to be applied may not please 'the marketing department', but it just may be translated into more popularity and more actual cash paying customers.
I mentioned this because I think it would be good for Parallax's bottom line.
Users flocked to the BasicStamp2 because it was informative.
The only reference to this book found by Google is in this thread.
Is anyone (other than the author) willing to comment on the quality of the book for its intended audience?
Rick
Admittedly, I came to the book as someone who became "dangerous" in PASM from these two tutorials: http://gadgetgangster.com/news/45-designer-news/275-propeller-assembly-tutorial.html
Red
I also picked up this book, I was looking for something on PASM and this was the only one I found. I have to agree with red, its current state is that of a draft, many spelling and general errors are distracting at least for me to keep with the flow of the book. There is also a little repetition as it seems things were moved around but the original part not removed. Overall I think it was helpful, I am about half way done with the book. It has a lot of well documented code and examples that are easy to follow.
kuroneko has been most helpful in trying to understand the details of programming this little jewel,
but I'd agree with Loopy.
I'm an experienced Assembly programmer.
But PASM still eludes me.
I just haven't found a starting point yet.