Matchu04
Lifetime Supporting Member
Some of you guys may remember I was getting some help on a roller door project a few months.. Lets say learning the ropes of what can be done within S7. Well alot of stuff was new to me so I decided to revisit some bits but would like some clarity...
So what ive leant with indirect addressing it fallS into two sections;
1- memory indirect addressing - where the pointer to the operand is stored within memory eg A I[MW 4]
2- Register-indirect addressing - Where it uses an address register to determine the address of the address (not sure that makes sense)
The register-indirect addressing is then split again.
a) Area internal
b) Area-crossing
The bit im not sure on is the area inernal. In the picture I have attached when carring out this comand the accum is loaded with the pointer of 123.0 not the a value of 123 is this correct??? other wise the value of the accum would be
00000000 00000000 00000000 11110011
instead of
10000011 00000000 00000011 11011000
Is my logic correct??
So what ive leant with indirect addressing it fallS into two sections;
1- memory indirect addressing - where the pointer to the operand is stored within memory eg A I[MW 4]
2- Register-indirect addressing - Where it uses an address register to determine the address of the address (not sure that makes sense)
The register-indirect addressing is then split again.
a) Area internal
b) Area-crossing
The bit im not sure on is the area inernal. In the picture I have attached when carring out this comand the accum is loaded with the pointer of 123.0 not the a value of 123 is this correct??? other wise the value of the accum would be
00000000 00000000 00000000 11110011
instead of
10000011 00000000 00000011 11011000
Is my logic correct??