| ??? 01/05/10 21:41 Modified: 01/05/10 23:44 Read: times |
#172185 - Pointer vs Index? Responding to: ???'s previous message |
Neil Kurzman said:
I suppose you could use pointers instead. Not sure which would be more efficient on an 8052. I'm not sure, either! But the thing is: the 8052 doesn't have an "indexed" addressing mode; so, to access an array element by index, it has to take the array's base address, and the index, and then use the resulting address to access the required element - which sounds rather like it'd be little more (nor less) efficient than using a pointer! |
| Topic | Author | Date |
| Linked List in 80C51 | 01/01/70 00:00 | |
| What problem are you trying to solve? | 01/01/70 00:00 | |
| possible? it's standard C | 01/01/70 00:00 | |
| possible? it's standard C | 01/01/70 00:00 | |
| Maybe not so bad | 01/01/70 00:00 | |
| Hybrid? | 01/01/70 00:00 | |
| It works | 01/01/70 00:00 | |
| No pointers? | 01/01/70 00:00 | |
| Yes the Index | 01/01/70 00:00 | |
| Pointer vs Index? | 01/01/70 00:00 | |
| Anyone sorting? | 01/01/70 00:00 | |
| Not only time is a problem | 01/01/70 00:00 | |
| Knuth? | 01/01/70 00:00 | |
| Who is Tenebaum? | 01/01/70 00:00 | |
| How to cite references | 01/01/70 00:00 | |
| Yes, references are important | 01/01/70 00:00 | |
| Data Structures Using C | 01/01/70 00:00 | |
| Dynamic memory allocation | 01/01/70 00:00 | |
| This is done in programming class | 01/01/70 00:00 | |
| since the name has many meanings ... | 01/01/70 00:00 | |
Probably more general than that... | 01/01/70 00:00 |



