NOOB to SX question
Hi -
I am new and trying to learn here. So please forgive me if I do not ask this correctly;
If I get the chip and go through the examples in the book. Will what I learn from there be same syntax for the assembly language used on other major pics?
I have a couple of pics and do not know hwo to properly write assembly and trying to learn. I found information on the SX chip and looks like a good place for me to start. Or is there a better way I should go?
EDIT:
Can any of the stamps use assembly instead of PBASIC? How do I know which stamp to buy that supports assembly from parallax?
Thanks!@
Post Edited (studysession) : 2/8/2007 9:24:32 PM GMT
I am new and trying to learn here. So please forgive me if I do not ask this correctly;
If I get the chip and go through the examples in the book. Will what I learn from there be same syntax for the assembly language used on other major pics?
I have a couple of pics and do not know hwo to properly write assembly and trying to learn. I found information on the SX chip and looks like a good place for me to start. Or is there a better way I should go?
EDIT:
Can any of the stamps use assembly instead of PBASIC? How do I know which stamp to buy that supports assembly from parallax?
Thanks!@
Post Edited (studysession) : 2/8/2007 9:24:32 PM GMT
Comments
If you get the SX and go through the examples in the book(s), you will learn basic concepts. The SX processors are similar to the PICs, but not the same. The assembly language is similar, but not the same. You can apply what you learn to the PICs, but you will need to learn different details.
The SX and PICs have somewhat different design philosophies in that the PIC is a simple 8-bit processor. Much of the fancy peripheral stuff is done in special purpose logic blocks that you manipulate by setting values into special memory locations (registers). The basic processor manipulates the result of the special purpose logic blocks and moves information back and forth mostly.
The SX is also a relatively simple 8-bit processor. It has very few special purpose logic blocks built-in. It is much much faster than the PIC processors and it has special logic to allow it to use interrrupts in a very predictible, reproducible way. As a result, many of the functions that the PIC does in special purpose logic blocks can be done in software and the SX comes with an extensive library of predefined functions in software.
The SX is a good way to learn about microcontrollers. There's plenty of educational material and the support provided by Parallax is excellent.
At least according to Paul Baker's comment in this previous thread:
http://forums.parallax.com/showthread.php?p=550537
I'm sure it would be an awful idea to convert your $44 BS2 into a big ugly $2.79 SX chip, but inadvisable is not the same as impossible
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I wonder if this wire is hot...