LMM: is there a standard ???
In the course of developing some extensions to PASM as an aid to writing PASM code...
AAC (Augmented Assembly Code)
http://forums.parallax.com/showthread.php?p=852239
I was questioned about the possibility of the tool emitting LMM code.
I found the question hard to answer because, to my knowlege, there is no standard method to meet the Large Memory Model objectives. But am I correct that there is no standard?
All LMM projects that I know about depend on a special kernel that resides in a cog and is used to supply the desired "largeness".· The commercial "c" compiler for the Propeller has to do this.· But is their kernel a "standard"?· Proprietary?· ???
AAC (Augmented Assembly Code)
http://forums.parallax.com/showthread.php?p=852239
I was questioned about the possibility of the tool emitting LMM code.
I found the question hard to answer because, to my knowlege, there is no standard method to meet the Large Memory Model objectives. But am I correct that there is no standard?
All LMM projects that I know about depend on a special kernel that resides in a cog and is used to supply the desired "largeness".· The commercial "c" compiler for the Propeller has to do this.· But is their kernel a "standard"?· Proprietary?· ???
Comments
Things like jumps have to be coded specially, but for the most part instructions are coded just as are in regular PASM.
I will soon have to seriously look into LMM since we want PropBASIC to use LMM in the future.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Does that byte of memory hold "A", 65, $41 or %01000001 ?
Yes it does...
·
When I came up with LMM back in 2006, I deliberately only defined a minimal subset.
There were two major reasons for this:
1) to leave as much cog memory available as possible
2) to allow customized kernels that are best fits for their particular purpose
The closest thing to a standard is my initial minimal set of extended instructions, others have added to it for their own purposes.
Best Regards,
Bill
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com Please use mikronauts _at_ gmail _dot_ com to contact me off-forum, my PM is almost totally full
Morpheusdual Prop SBC w/ 512KB kit $119.95, Mem+2MB memory IO board kit $89.95, both kits $189.95
Propteus and Proteus for Propeller prototyping 6.250MHz custom Crystals run Propellers at 100MHz
Las - Large model assembler for the Propeller Largos - a feature full nano operating system for the Propeller