MICROPROCESSOR AND MICROCONTROLLER

PIC MICROCONTROLLER

ARCHITECTURE OF 8085

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

Detailed explanation-1: -DECFSZ: Decrement f, Skip if zero.

Detailed explanation-2: -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-3: -The MOVLW means ‘Move Literal Value Into W’, which in English means put the value that follows directly into the W register.

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.