Question: Which register is mandatory to get loaded at the beginningbefore loading or transferring the contents to correspondingdestination registers? INDF W FSR PCL You are given

  1. Which register is mandatory to get loaded at the beginningbefore loading or transferring the contents to correspondingdestination registers?
  1. INDF
  1. W
  1. FSR
  1. PCL

  1. You are given the following PIC16F877 assembly function:

RLF Reg4, 0

If Reg4 = 0xE6, and Carry bit = 0,what values are in the working register and the carry bit when thisfunction isexecuted?

  1. W=0xCC, C=1
  1. W=0x73, C=0
  1. W=0xCC, C=0
  1. W=0x73, C=1
  1. You are given the following PIC16F877 assembly function:

SWAPF REG3, 0

Assume (REG3)=d24, what values are inthe working register when this function isexecuted?

  1. W = 0x18
  1. W = 0x24
  1. W = 0x42
  1. W = 0x81

  1. Which of the following instruction is useful for bitmasking?
  1. andlw
  1. iorlw
  1. xorlw
  1. comf
  1. You are asked to check whether LED connected at PortA.1 is ON,which of the following instruction will you use?
  1. BTFSS Port A ,1
  1. BSF Port A ,1
  1. BCF Port A ,1
  1. COMF Port A
  1. You are given the following PIC16F877 assembly function:

rrf REG6 , 0

Assume W=0xA3, C=0 and REG6=E6, whichis the correct answer when this function isexecuted?

  1. W = 0xA3
  1. REG6 = 0x73
  1. W = 0x??
  1. W = 0x73

  1. Stack consists of ___ , _______ bit registers.
  1. 8 , 11
  1. 8 , 13
  1. 11, 8
  1. 13 , 8

  1. How many unconditional branch instruction are available inPIC16F877?
  1. 1
  1. 3
  1. 2
  1. none

  1. Which instruction is used as multiply by 2 in PIC16F877?

  1. RLF
  1. RFL

  1. RRF
  1. RLeft

  1. Modular programming mostly relies on the use of_________.

  1. assembly language
  1. zeros and ones

  1. subroutines
  1. interrupts

Step by Step Solution

3.41 Rating (164 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The detailed answer for the above question is provided below 1 c FSR File Select Register is mandatory to get loaded at the beginning before loading or transferring the contents to corresponding desti... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!