Hello guys;
when I have something like *(x+1)=5; which at x's variable saved an address of memory(lets assume it's 100) ; then the PC will put 5 into address 101 .. and it's fine; but what I'm wondering about is, how does the pc know to when to fetch the variable x or not fetching it ? and when to assign instead of x its value or when not ? looks weird.
when I have something like *(x+1)=5; which at x's variable saved an address of memory(lets assume it's 100) ; then the PC will put 5 into address 101 .. and it's fine; but what I'm wondering about is, how does the pc know to when to fetch the variable x or not fetching it ? and when to assign instead of x its value or when not ? looks weird.