Answered step by step
Verified Expert Solution
Question
1 Approved Answer
for the pic18f , my arrays are MOVLW 0xA5 MOVWF 0x55 MOVLW 0x83 MOVWF 0x56 MOVLW 0xA2 MOVWF 0x57 ;I'm using FSR0L register and INDF0
for the pic18f ,
my arrays are
MOVLW 0xA5
MOVWF 0x55
MOVLW 0x83
MOVWF 0x56
MOVLW 0xA2
MOVWF 0x57
;I'm using FSR0L register and INDF0 to make an array.
MOVLW= 0x30
MOVWF = FSR0L
So my question is using a for loop amd using MOV INDF0,W and output MOVWF PORTX , how would I add the address from FSR0L + INDF0(pointer) then increment INDF0 to get the next address, in this case, it would be 0x56 , after the loop 0x57...
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started