Posted 21 Oct 2016 Can someone help me understand what D4000Z7 means? Is it a register? Is it a word? Share this post Link to post Share on other sites
Posted 21 Oct 2016 (edited) This is a index register, The Z register indexes the D word . Edited 21 Oct 2016 by AlexMota Share this post Link to post Share on other sites
Posted 24 Oct 2016 Thank you so much. Now I understand. And why does it get used. I don't see the use for this. Can you give me an example why it's recommended to be used? Share this post Link to post Share on other sites
Posted 24 Oct 2016 It's called indirect addressing. And it is commonly used in things like looping FOR/NEXT statements to change the referenced memory address each increment of the loop. Share this post Link to post Share on other sites