Got to be the only micro architecture that requires an application note to describe how to implement a LUT.
Newer models are better, BTW, but you still have to be a bit careful compared to Von Neuman parts like the HC05/08.
Best regards, Spehro Pefhany
--
"it\'s the network..." "The Journey is the reward"
speff@interlog.com Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog Info for designers: http://www.speff.com
Depends how big the table needs to be, and whether it is a conventional PIC, or one of the 'flash' models. If the table is under one page bank size, then you just have a list of RETLW instructions with the required values, and a 'header', adding the value you want to look up to the program counter. If it is over a page, it has to be split into multiple sections, and becomes a SOB. On the latter flash chips, most support a direct 'read' operation in the program memory, using a pointer register, which makes it simple.
No one who is serious about a thorough comparison of the technical differences between any two particular architectures would be satisfied with your dumb and meaningless Princeton/Harvard nonsense. And as for your little jab about ignorance, that would have impact only a memoryless target.
What's surprising the extent that the Intel x86 architecture and Windows were designed in ignorance of existing practice, and how they are slowly "introducing" security features that were taken for granted thirty and even forty years ago.
One of the old-timers at Microsoft related to me the efforts that their engineers made to persuade Intel to put 32-bit flat addressing and support for virtual memory into the 80386.
The notion that Microsoft's software engineers are ignorant of existing practise is folly, latched onto by people who get their jollies from it for sick reasons.
A good example of "existing practise" that was left behind, for good reason, in the Win32 API, is the support of multitasking via the blunt instrument known as "fork()".
--
--Larry Brasfield
email: donotspam_larry_brasfield@hotmail.com
Above views may belong only to me.
The '386 was a *long* time ago. Transitors were not cheap then, and flat addressing wasn't a deal. Hell it was BillyG that pushed for the 8088 for the original PC (not that I think that was all bad).
Oh, really? Why is M$ so inundated with buffer-overflow attacks? Why are they inundated with other Win attacks? Why have they been
*SO* slow to close these holes? Good grief, you must work for M$.
"Ken Smith" wrote in message news:d7hr3l$jsm$ snipped-for-privacy@blue.rahul.net...
My terminology and memory may be flawed here, but my recollection is that the 286 could not handle many "pages". Segment selectors were either strictly limited in number or had to be slowly reloaded from memory if lots of small segments were used to simulate a modern, paged VMM. Virtual memory with pages too large to be likely paged out is more of a gimmick than a benefit.
I seem to recall that it was the 386 (among x86 uPs) that first managed to get instruction retry upon fault to work right. Virtual memory without on-demand paging is also closer to gimmickry than utility.
--
--Larry Brasfield
email: donotspam_larry_brasfield@hotmail.com
Above views may belong only to me.
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.