metals
Junior Member level 2
In assembly language for programming PIC, how many instruction cycles would this code take?
I know that they all take 1 instruction cycle except for bnz which ned 1 or 2 and return that also need 2. But the answer is not 11/12 instruction cycles?
Code:
hugo movlw 0x14
movwf n
igen decf n,f
bnz igen
nop
nop
rlncf n,w
movwf portC
nop
return
I know that they all take 1 instruction cycle except for bnz which ned 1 or 2 and return that also need 2. But the answer is not 11/12 instruction cycles?