Posted 16 Jul 2021 (edited) i want to use indirect register, but why contact 100,IR0 is not ON, is it my program correct? Edited 16 Jul 2021 by septian Share this post Link to post Share on other sites
Posted 16 Jul 2021 18 hours ago, septian said: i want to use indirect register, but why contact 100,IR0 is not ON, is it my program correct? No. You need to do the following: MOVR 100.0 IR0 MOV D0 DR0 XIC DR0,IR0 to use the bit in the offset (apologies for the AB reference :( ) Also, your code below the indirect function will undo what you are trying to do anyway. Share this post Link to post Share on other sites