Searching \ for '[SX] SX ASM question' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/ubicom/languages.htm?key=asm
Search entire site for: 'SX ASM question'.

Exact match. Not showing close matches.
PICList Thread
'[SX] SX ASM question'
2005\12\13@202133 by EdgesofTwilightn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, EdgesofTwilight wrote:

I was wondering how different is SX ASM compared to PC Assembler language or SPARC assembler.  I took both a long time ago and was just wondering if my previous experiences will help.  I saw the XGS and I am very impressed and interested.  After I mess around with the BS2, I might venture in the world of SX.

Thanks!

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=100676
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)

2005\12\13@210253 by PJMontyn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, PJMonty wrote:

Chris,
The SX has a segmented memory architecture, similar to 16 bit x86 code.  If you have experience with 16 bit x86 assembly, then the SX won't feel so weird.  If you only have experience with flat memory models, then you may find it a bit awkward at first.  Also, I find that in general, if you can program in one assembly language, you can learn to program in any other one.  Half the battle in programming in assembly is learning to think at an extremely low level of programming.  Once you can do that, learning the specific quirks of a new architecture and the specific assembly language mnemonics is just a matter of taking the time and doing it.

[list]Thanks,
PeterM[/list]
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=100676#m100683
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)

2005\12\14@064954 by EdgesofTwilightn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, EdgesofTwilight wrote:

Thanks Peter,
                Yes it was 16bit code, but it was like 8 years ago that I used it.  After I get through the BS2 tutorials, I will definately explore further with SX.  It seems you can do more with SX than BS2, basically because of the ASM language.

Thanks!

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=100676#m100714
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)

2005\12\14@070410 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Chris,
 Another thing that causes confusion is that the PC uses von Neumann architecture and the SX uses Harvard architecture.
 It's kind of weird so see this:

 ORG $08
 var1  DS 1
 var2  DS 1
 ORG $08
 MOV W,#1
 When your used to von Neumann your thinking "Hey you just put code where the variables are stored". But of course on the SX this is not the case.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=100676#m100718
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)

2005\12\14@075404 by George Herzogn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, George Herzog wrote:

What Bean is saying is that the Compiler recognizes the correct choice between placing something in RAM or EEPROM by identifying the type of code following the ORG statement.  
You don't have to have a 'RAM_ORG' and an 'EEPROM_ORG' to get things to the right location.

I hope that is not too wordy.

Another way of putting it is the the Compiler is 'context aware' or 'context sensitive' in how it uses the ORG.

Guenther's book really will lead you clearly through it, so read it when your ready.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=100676#m100732
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)

2005\12\14@090601 by EdgesofTwilightn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, EdgesofTwilight wrote:

Thanks guys.  I get the idea.  It definitely a little different.

Thanks Again!

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=100676#m100737
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)

2005\12\15@070419 by g_daubachn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, g_daubach wrote:

[Quoting: "Kramer"]What Bean is saying is that the Compiler recognizes the correct choice between placing something in RAM or EEPROM by identifying the type of code following the ORG statement.  
You don't have to have a 'RAM_ORG' and an 'EEPROM_ORG' to get things to the right location.

I hope that is not too wordy.

Another way of putting it is the the Compiler is 'context aware' or 'context sensitive' in how it uses the ORG.

Guenther's book really will lead you clearly through it, so read it when your ready.


I don't think that this is what Bean is saying. Bean pointed out that on machines with von Neumann structure the two ORG 8 directives in his example refer to exactly the same location in RAM memory, and the assembler would assign memory for variables there, and then generate code to be stored at the same memory location. This is a great example for self-destroying code :-) .

Such desasters are not possible with the SX with its Harward structure because variable and program memory are completely separated, and addressed via two separate busses.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=100676#m100896
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)

More... (looser matching)
- Last day of these posts
- In 2005 , 2006 only
- Today
- New search...