MICROPROCESSOR AND MICROCONTROLLER

PIC MICROCONTROLLER

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
INCFSZ f, d instruction means
A
Increment f, Skip if 1
B
Increment f, Skip if 0
C
Increment f, Set if 0
D
Increment f, Set if 1
Explanation: 

Detailed explanation-1: -The PIC instruction set refers to the set of instructions that Microchip Technology PIC or dsPIC microcontroller supports. The instructions are usually programmed into the Flash memory of the processor, and automatically executed by the microcontroller on startup.

Detailed explanation-2: -MOVWF 85h. This instruction means “Move The Contents Of W Into The Register Address That Follows”, in this case the address points to TRISA.

Detailed explanation-3: -Conditional branch instructions are a very important part of PIC18 assembly. These instructions only branch when some condition is met. Conditional branch instructions are widely used to write loops and if/else type code using PIC18 assembly.

Detailed explanation-4: -ADDWF-Add WREG to f. ADDWFC-Add WREG and Carry bit to f. ANDWF-AND WREG with f. CLRF-Clear f. COMF-Complement f. CPFSEQ-Compare f with WREG, skip = CPFSGT-Compare f with WREG, skip if > CPFSLT-Compare f with WREG, skip if < More items

There is 1 question to complete.