In: Electrical Engineering
What is the purpose of the status register in PIC microcontroller architecture? Draw this register and define the function of each of its bits.
Find C, Z, and DC flag bits for each of the following codes:
a)
MOVLW 9FH
ADDLW 61H
C = , Z = , DC =
b)
MOVLW 82H
ADDLW 22H
C = , Z = , DC =
c)
MOVLW 67H
ADDLW 99H
C = , Z = , DC =
pic status register is explained clearly ,flag are affected after during arithematic operations only.during branch instruction flag bits are used to take decisions.if you are having any doubts let me know.please upvote .