| ??? 02/01/06 13:11 Read: times |
#108875 - 80c51 Addressing Responding to: ???'s previous message |
The 80c51 is an 8bit processor capable of directly addressing 64k code space and 64k ram space becuase there are a maximum of 16 address lines. 64k comes from 2^16 addresses.
While it is possible to "switch in and swap out 64k at a time" at any instant the 80c51 can only see a 64k chunk. BUT Your #defines are much greater than the 64k boundry... which is why Erik is questioning your code.... Is your #define code for a 80c51 micro Derivative ? JG |
| Topic | Author | Date |
| Question about pointers with C | 01/01/70 00:00 | |
| Eh??? | 01/01/70 00:00 | |
| Compiler | 01/01/70 00:00 | |
| is that the Keil compiler you are using? | 01/01/70 00:00 | |
| Keil compiler | 01/01/70 00:00 | |
| keil has '51, '251, '16x, ARM which? | 01/01/70 00:00 | |
| A51 | 01/01/70 00:00 | |
| You mean C51 ? | 01/01/70 00:00 | |
| then what is this addressing? | 01/01/70 00:00 | |
| Addressing a RAM chip | 01/01/70 00:00 | |
| Addressing a RAM chip | 01/01/70 00:00 | |
| ah banking | 01/01/70 00:00 | |
| 80c51 Addressing | 01/01/70 00:00 | |
| Pedantic | 01/01/70 00:00 | |
| ridiculous | 01/01/70 00:00 | |
because | 01/01/70 00:00 | |
| Dereference | 01/01/70 00:00 | |
| Pointer hints | 01/01/70 00:00 | |
| No, that's wrong | 01/01/70 00:00 | |
| struct modelling memory-mapped IO | 01/01/70 00:00 | |
| I think it is time to stop replies to | 01/01/70 00:00 | |
| More pedantically | 01/01/70 00:00 | |
| Pointer hints | 01/01/70 00:00 | |
| start small | 01/01/70 00:00 |



