hi frnds ...i am a noob in electronics.....
can anybody plzz tell me when we say address of some data is something say 30h ..so is it the address
of that whole memory in which data is stored ..or it is the address of the 1'st bit of memory where data is stored...
basically i want to ask that we define an address for a bit or for whole memory where data is stored....?
Thnxx in advance.....
Deepak

when we mean an address for a data 30h it means that it is the address for the entire byte 30h. there can even be address like 0 (one bit) or 1 (one bit) which can store the the data 30h (1 byte) or 1241h ( 2bytes).

Clarifying the response above, address of memory also correlates to the size of the data pointed by the address. For example, if the data size is byte, then the address would point to a whole byte and adding one to the address would point to the next byte. If the data size is word (two bytes), then the address points to a whole word and adding one to the address would point to the next word (NOT the upper byte). Similarly, for bit data, then the address would point to one bit only.

This is how typed compiler like C is designed. In physical world, the address is usually fixed by the hardware designer, say an 8-bit micro would have a memory address pointing to a whole byte (8-bit). Bit access usually only possible with specific instructions which tag the concerned bit. Or say a 32k*8-bit ram, the address would point to a whole byte, similarly a 32k*32-bit ram would have the address pointing to a whole double word.