??? 06/09/04 14:42 Read: times |
#72189 - RE: Course Notes - Memory expanded Responding to: ???'s previous message |
hi,
okay, I think it is question of the terms: MOV B,#1 ; access of SFR MOV 0xF0,#1 ; direct memory access (but does the same :) Now could you explain me the difference between these two lines above? Here: can I not use register B just as a direct memory location? If any register is mapped into direct memory area, if it is accessed by direct way, so why do you think that it must be named as separate memory space type? I know that SFRs are for special purposes! But they are mapped into direct memory address range and so in program model they look like direct memory locations when you access them. If we start to divide by such way so we need to define another memory spaces as well: registers R0...R7 (and their banks), bit fields... For CODE: - reset vector, interrupt vectors space, program code space, data code space, etc. Regards, Oleg |