How does a pointer work ?

Status
Not open for further replies.

lcs81

Member level 3
Joined
Aug 2, 2005
Messages
57
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,683
Am, how actualy pointer work?

Is there any related notes from simple pointer to advance pointer?

In microcontroller, do we use pointer?
 

Re: pointer

how actualy pointer work?
Is there any related notes from simple pointer to advance pointer?
C Programming Tutorial: Pointers
http://vergil.chemistry.gatech.edu/resources/programming/c-tutorial/pointers.html

In microcontroller, do we use pointer?
Yes, any microcontroller use pointer, this pointer operation normally named as indirect addressing.
Code:
8051 : MOVX A,@DPTR
Z80  : LD   A,(HL)
68xx : LDAA 0,X
AVR see Beginners Programming in AVR Assembler - Register as Pointer
http://www.avr-asm-tutorial.net/avr_en/beginner/REGISTER.html#Pointer
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…