Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

electronics technology and microprocessor 5.1 List out the group of PIC1 6F84 in

ID: 2266185 • Letter: E

Question


electronics technology and microprocessor

5.1 List out the group of PIC1 6F84 instruction set. What is the content of register W after the PIC16F84 executes the following instructions? Assume that W contains FF before each instruction executes. 5.2 (b) MOVF 45, w (c) MOVLW d'200' (d) MOVF b'10001100', w 5.3 What is the content of working register and file register location in 0Dh after PIC16F84 executes the following instructions? Assume that W and F are containing 2D and 34 respectively before each instruction executes.

Explanation / Answer

5.1 Seven group of instructions are:

(i) Data Move and Load

(ii) Arithmetic

(iii) Logical

(iv) Program Control (Branch & Jump)

(v) Bit Manipulation

(vi) Table Read/Write

(vii) Machine Control

5.2

(a) MOVWF 0F - Move contents of W register into register file 0F

(b) MOVF 45, W - Move/Copy contents of register 45 in to W register. (source register can be 0 to 127. here its 45)

(c) MOVLW d'200' - Move literal/constant represented by decimal number 200 into W register

(d) MOVF b'10001100', W - Move or copy binary number 10001100 into W reg.

5.3 Instruction not provided