??? 12/02/04 22:51 Read: times |
#82437 - Irrelevant Responding to: ???'s previous message |
I said:
All the compiler knows about is the 8051 instruction set - the hardware beyond the chip is entirely irrelevant to the compiler! Sasha Jevtic said:
examples include multiple data pointers and expanded address spaces. But all of this is pureley internal to the chip - it has absolutely nothing whatsoever to do with the external hardware on any specific development board or other assembly. In fact, multiple DPTRs are usually implemented by adding a "DPTR select" SFR - so there is no change to the instruction set at all for that. Of course, expanded memory addressing (ie, >64K) is a fundamental change to the architecture - so it must require a change to the instruction set. Of course, it is also convenient (although not necessary) for a compiler to include header files with SFR definitions for the derivatives you will be using. Header files are just source code - they aren't really anything to do with the compiler itself. Of course, compiler vendors like to throw them in so that you get the impression that they're "adding value" - but it's nothing you couldn't write yourself. |
Topic | Author | Date |
Dunfield C Cmplr and TECEL's P500 Board | 01/01/70 00:00 | |
largely irrelevant | 01/01/70 00:00 | |
RE: largely irrelevant | 01/01/70 00:00 | |
Irrelevant | 01/01/70 00:00 | |
RE: Irrelevant![]() | 01/01/70 00:00 |