Yes, I will agree that assembler's learning curve is great. I taught assembler
in a high school for six years and I remember those first days. It took a long
time to formulate a series of events that would emulate a statement such as
"SERIN 0, N2400, [noparse][[/noparse]"A"]". What worked for me, and I am still learning, is
teaching the basic digital circuitry / logic and studying the code from others,
First you learn the statements, then you understand how the statements make
sentences and then how the sentences make paragragraphs and so on. I will also
say that there is a logic for understanding the process that exists that is
separate from the code. For the example, "SERIN 0, N2400, [noparse][[/noparse]"A"]", it helps
greatly to have used a UART or maybe several different kinds of them. Get some
ones code for a UART written in assembler and study that. Hope this helps.
The most useful ingredient in the mix is interest & curiosity, money won't do
it.
Leroy
Original Message
From: "basicstampede" <basicstampede@y...>
To: <basicstamps@yahoogroups.com>
Sent: Monday, September 22, 2003 6:09 AM
Subject: [noparse][[/noparse]basicstamps] Re: Stamp to PIC migration
: I'll put my 2 cents worth...
:
: I am trying to make the migration myself.
:
: The PIC does offer some advantages such as true interrupt, and
: internal timers, hardware PWM, hardware UART etc.
:
: However, the learning curve is more steep.
:
: With the BS2, I was able to quickly move from flashing LEDs to I2C
: communication in about 1 month.
: For PIC, well, I've been studying PIC for almost 3 months now, and
: just now I'm starting to put together simple programs using
: interrupt, CCP, etc. Yes, these are more complicated concepts, but
: at this moment, I won't even think about doing a whole project in
: assembly.
:
: I plan to keep my Stamp around for quick proof of concept work. And
: use PIC with BASIC compiler to realize final product.
:
: Truth is, Stamps are great for learning and quick prototyping.
:
:
:
: --- In basicstamps@yahoogroups.com, "Tech" <tech@r...> wrote:
: >
: > > Writing assembly code is not that difficult, there's only 35
: > > instructions in the mid range PICs.
: >
: > Learning assembly language for the PIC is indeed easy, BUT, trying
: to emulate
: > the BASIC Stamps commands & functionality in assembly can be
: another story.
: >
: > SERIN 0, N2400, [noparse][[/noparse]"A"] ' Simple enough.
: >
: > Now do something comparable in assembly:
: http://www.rentron.com/PicBasic/serin.htm
: >
: > Many years ago Scott Edwards produced a book titled "The PIC Source
: Book" showing
: > how to write Stamp equivalent functions or commands for the PIC in
: assembly language.
: >
: > Even with only 35 instructions to learn, it still takes a lot of
: work (and time) to do something
: > in assembly comparable to even the simplest BASIC Stamp command.
: >
: > Hang onto your Stamps. If you want to get into programming the PIC,
: then grab one of the
: > BASIC compilers. You already have experience with Pbasic, and
: probably tons of code
: > you can port directly from your Stamp to a PIC. If you just want
: less expensive Stamps,
: > I would definitely go the Parallax Stamp OEM ICs. They provide all
: the schematics you'll
: > need to roll your own Stamp clones.
: >
: > Having both the Stamp & BASIC compilers is really the best of both
: worlds, but you'll still
: > probably pull out that Stamp when you're in a hurry to get
: something up & going or roll-out
: > a proof-of-concept design quickly.
: >
: > A good carpenter could probably build an entire home with nothing
: but a screwdriver & a
: > hammer, but I doubt he would want to with tools available to make
: the job much easier
: > & faster....;o]
: >
: >
: > Regards,
: >
: > -Bruce
: > tech@r...
: > http://www.rentron.com
:
:
: To UNSUBSCRIBE, just send mail to:
: basicstamps-unsubscribe@yahoogroups.com
: from the same email address that you subscribed. Text in the Subject and Body
of the message will be ignored.
:
:
: Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
:
:
:
Yes, I will agree that assembler's learning curve is great. I taught
assembler in a high school for six years and I remember those first
days. It took a long time to formulate a series of events that would
emulate a statement such as "SERIN 0, N2400, [noparse][[/noparse]"A"]". What worked for
me, and I am still learning, is teaching the basic digital circuitry /
logic and studying the code from others, First you learn the statements,
then you understand how the statements make sentences and then how the
sentences make paragragraphs and so on. I will also say that there is a
logic for understanding the process that exists that is separate from
the code. For the example, "SERIN 0, N2400, [noparse][[/noparse]"A"]", it helps greatly to
have used a UART or maybe several different kinds of them. Get some
ones code for a UART written in assembler and study that. Hope this
helps.
The most useful ingredient in the mix is interest & curiosity, money
won't do it.
Leroy
Original Message
From: "basicstampede" <basicstampede@y...>
To: <basicstamps@yahoogroups.com>
Sent: Monday, September 22, 2003 6:09 AM
Subject: [noparse][[/noparse]basicstamps] Re: Stamp to PIC migration
: I'll put my 2 cents worth...
:
: I am trying to make the migration myself.
:
: The PIC does offer some advantages such as true interrupt, and
: internal timers, hardware PWM, hardware UART etc.
:
: However, the learning curve is more steep.
:
: With the BS2, I was able to quickly move from flashing LEDs to I2C
: communication in about 1 month.
: For PIC, well, I've been studying PIC for almost 3 months now, and
: just now I'm starting to put together simple programs using
: interrupt, CCP, etc. Yes, these are more complicated concepts, but
: at this moment, I won't even think about doing a whole project in
: assembly.
:
: I plan to keep my Stamp around for quick proof of concept work. And
: use PIC with BASIC compiler to realize final product.
:
: Truth is, Stamps are great for learning and quick prototyping.
:
:
:
: --- In basicstamps@yahoogroups.com, "Tech" <tech@r...> wrote:
: >
: > > Writing assembly code is not that difficult, there's only 35
: > > instructions in the mid range PICs.
: >
: > Learning assembly language for the PIC is indeed easy, BUT, trying
: to emulate
: > the BASIC Stamps commands & functionality in assembly can be
: another story.
: >
: > SERIN 0, N2400, [noparse][[/noparse]"A"] ' Simple enough.
: >
: > Now do something comparable in assembly:
: http://www.rentron.com/PicBasic/serin.htm
: >
: > Many years ago Scott Edwards produced a book titled "The PIC Source
: Book" showing
: > how to write Stamp equivalent functions or commands for the PIC in
: assembly language.
: >
: > Even with only 35 instructions to learn, it still takes a lot of
: work (and time) to do something
: > in assembly comparable to even the simplest BASIC Stamp command.
: >
: > Hang onto your Stamps. If you want to get into programming the PIC,
: then grab one of the
: > BASIC compilers. You already have experience with Pbasic, and
: probably tons of code
: > you can port directly from your Stamp to a PIC. If you just want
: less expensive Stamps,
: > I would definitely go the Parallax Stamp OEM ICs. They provide all
: the schematics you'll
: > need to roll your own Stamp clones.
: >
: > Having both the Stamp & BASIC compilers is really the best of both
: worlds, but you'll still
: > probably pull out that Stamp when you're in a hurry to get
: something up & going or roll-out
: > a proof-of-concept design quickly.
: >
: > A good carpenter could probably build an entire home with nothing
: but a screwdriver & a
: > hammer, but I doubt he would want to with tools available to make
: the job much easier
: > & faster....;o]
: >
: >
: > Regards,
: >
: > -Bruce
: > tech@r...
: > http://www.rentron.com
:
:
: To UNSUBSCRIBE, just send mail to:
: basicstamps-unsubscribe@yahoogroups.com
: from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
:
:
: Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
:
:
:
To UNSUBSCRIBE, just send mail to: basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
Comments
in a high school for six years and I remember those first days. It took a long
time to formulate a series of events that would emulate a statement such as
"SERIN 0, N2400, [noparse][[/noparse]"A"]". What worked for me, and I am still learning, is
teaching the basic digital circuitry / logic and studying the code from others,
First you learn the statements, then you understand how the statements make
sentences and then how the sentences make paragragraphs and so on. I will also
say that there is a logic for understanding the process that exists that is
separate from the code. For the example, "SERIN 0, N2400, [noparse][[/noparse]"A"]", it helps
greatly to have used a UART or maybe several different kinds of them. Get some
ones code for a UART written in assembler and study that. Hope this helps.
The most useful ingredient in the mix is interest & curiosity, money won't do
it.
Leroy
Original Message
From: "basicstampede" <basicstampede@y...>
To: <basicstamps@yahoogroups.com>
Sent: Monday, September 22, 2003 6:09 AM
Subject: [noparse][[/noparse]basicstamps] Re: Stamp to PIC migration
: I'll put my 2 cents worth...
:
: I am trying to make the migration myself.
:
: The PIC does offer some advantages such as true interrupt, and
: internal timers, hardware PWM, hardware UART etc.
:
: However, the learning curve is more steep.
:
: With the BS2, I was able to quickly move from flashing LEDs to I2C
: communication in about 1 month.
: For PIC, well, I've been studying PIC for almost 3 months now, and
: just now I'm starting to put together simple programs using
: interrupt, CCP, etc. Yes, these are more complicated concepts, but
: at this moment, I won't even think about doing a whole project in
: assembly.
:
: I plan to keep my Stamp around for quick proof of concept work. And
: use PIC with BASIC compiler to realize final product.
:
: Truth is, Stamps are great for learning and quick prototyping.
:
:
:
: --- In basicstamps@yahoogroups.com, "Tech" <tech@r...> wrote:
: >
: > > Writing assembly code is not that difficult, there's only 35
: > > instructions in the mid range PICs.
: >
: > Learning assembly language for the PIC is indeed easy, BUT, trying
: to emulate
: > the BASIC Stamps commands & functionality in assembly can be
: another story.
: >
: > SERIN 0, N2400, [noparse][[/noparse]"A"] ' Simple enough.
: >
: > Now do something comparable in assembly:
: http://www.rentron.com/PicBasic/serin.htm
: >
: > Many years ago Scott Edwards produced a book titled "The PIC Source
: Book" showing
: > how to write Stamp equivalent functions or commands for the PIC in
: assembly language.
: >
: > Even with only 35 instructions to learn, it still takes a lot of
: work (and time) to do something
: > in assembly comparable to even the simplest BASIC Stamp command.
: >
: > Hang onto your Stamps. If you want to get into programming the PIC,
: then grab one of the
: > BASIC compilers. You already have experience with Pbasic, and
: probably tons of code
: > you can port directly from your Stamp to a PIC. If you just want
: less expensive Stamps,
: > I would definitely go the Parallax Stamp OEM ICs. They provide all
: the schematics you'll
: > need to roll your own Stamp clones.
: >
: > Having both the Stamp & BASIC compilers is really the best of both
: worlds, but you'll still
: > probably pull out that Stamp when you're in a hurry to get
: something up & going or roll-out
: > a proof-of-concept design quickly.
: >
: > A good carpenter could probably build an entire home with nothing
: but a screwdriver & a
: > hammer, but I doubt he would want to with tools available to make
: the job much easier
: > & faster....;o]
: >
: >
: > Regards,
: >
: > -Bruce
: > tech@r...
: > http://www.rentron.com
:
:
: To UNSUBSCRIBE, just send mail to:
: basicstamps-unsubscribe@yahoogroups.com
: from the same email address that you subscribed. Text in the Subject and Body
of the message will be ignored.
:
:
: Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
:
:
:
my programs start up being a variation on a previous one<G>. And a
company that provides example code is a blessing<G>.
Original Message
From: Leroy Hall [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=piF9GiUmUilXMGiX3O7Er_zIzIFHxdirC3Sq6KR_brGWGMeJJf5VHUIp_WOTztcQSdJJvoHqtE8]leroy@f...[/url
Sent: Monday, September 22, 2003 7:58 AM
To: basicstamps@yahoogroups.com
Subject: Re: [noparse][[/noparse]basicstamps] Re: Stamp to PIC migration
Yes, I will agree that assembler's learning curve is great. I taught
assembler in a high school for six years and I remember those first
days. It took a long time to formulate a series of events that would
emulate a statement such as "SERIN 0, N2400, [noparse][[/noparse]"A"]". What worked for
me, and I am still learning, is teaching the basic digital circuitry /
logic and studying the code from others, First you learn the statements,
then you understand how the statements make sentences and then how the
sentences make paragragraphs and so on. I will also say that there is a
logic for understanding the process that exists that is separate from
the code. For the example, "SERIN 0, N2400, [noparse][[/noparse]"A"]", it helps greatly to
have used a UART or maybe several different kinds of them. Get some
ones code for a UART written in assembler and study that. Hope this
helps.
The most useful ingredient in the mix is interest & curiosity, money
won't do it.
Leroy
Original Message
From: "basicstampede" <basicstampede@y...>
To: <basicstamps@yahoogroups.com>
Sent: Monday, September 22, 2003 6:09 AM
Subject: [noparse][[/noparse]basicstamps] Re: Stamp to PIC migration
: I'll put my 2 cents worth...
:
: I am trying to make the migration myself.
:
: The PIC does offer some advantages such as true interrupt, and
: internal timers, hardware PWM, hardware UART etc.
:
: However, the learning curve is more steep.
:
: With the BS2, I was able to quickly move from flashing LEDs to I2C
: communication in about 1 month.
: For PIC, well, I've been studying PIC for almost 3 months now, and
: just now I'm starting to put together simple programs using
: interrupt, CCP, etc. Yes, these are more complicated concepts, but
: at this moment, I won't even think about doing a whole project in
: assembly.
:
: I plan to keep my Stamp around for quick proof of concept work. And
: use PIC with BASIC compiler to realize final product.
:
: Truth is, Stamps are great for learning and quick prototyping.
:
:
:
: --- In basicstamps@yahoogroups.com, "Tech" <tech@r...> wrote:
: >
: > > Writing assembly code is not that difficult, there's only 35
: > > instructions in the mid range PICs.
: >
: > Learning assembly language for the PIC is indeed easy, BUT, trying
: to emulate
: > the BASIC Stamps commands & functionality in assembly can be
: another story.
: >
: > SERIN 0, N2400, [noparse][[/noparse]"A"] ' Simple enough.
: >
: > Now do something comparable in assembly:
: http://www.rentron.com/PicBasic/serin.htm
: >
: > Many years ago Scott Edwards produced a book titled "The PIC Source
: Book" showing
: > how to write Stamp equivalent functions or commands for the PIC in
: assembly language.
: >
: > Even with only 35 instructions to learn, it still takes a lot of
: work (and time) to do something
: > in assembly comparable to even the simplest BASIC Stamp command.
: >
: > Hang onto your Stamps. If you want to get into programming the PIC,
: then grab one of the
: > BASIC compilers. You already have experience with Pbasic, and
: probably tons of code
: > you can port directly from your Stamp to a PIC. If you just want
: less expensive Stamps,
: > I would definitely go the Parallax Stamp OEM ICs. They provide all
: the schematics you'll
: > need to roll your own Stamp clones.
: >
: > Having both the Stamp & BASIC compilers is really the best of both
: worlds, but you'll still
: > probably pull out that Stamp when you're in a hurry to get
: something up & going or roll-out
: > a proof-of-concept design quickly.
: >
: > A good carpenter could probably build an entire home with nothing
: but a screwdriver & a
: > hammer, but I doubt he would want to with tools available to make
: the job much easier
: > & faster....;o]
: >
: >
: > Regards,
: >
: > -Bruce
: > tech@r...
: > http://www.rentron.com
:
:
: To UNSUBSCRIBE, just send mail to:
: basicstamps-unsubscribe@yahoogroups.com
: from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
:
:
: Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
:
:
:
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/