logo

Crowdly

Browser

Add to Chrome

ECNG2006 : Introduction to Micro-Processors (Semester II- 2025/2026)

Looking for ECNG2006 : Introduction to Micro-Processors (Semester II- 2025/2026) test answers and solutions? Browse our comprehensive collection of verified answers for ECNG2006 : Introduction to Micro-Processors (Semester II- 2025/2026) at myelearning.sta.uwi.edu.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

The binary number 1011 1010 is subjected to the following operations:

  

ARITHMETIC SHIFT RIGHT

ARITHMETIC SHIFT RIGHT

ARITHMETIC SHIFT RIGHT

ARITHMETIC SHIFT LEFT

LOGICAL SHIFT RIGHT

The final value is :
0%
0%
0%
0%
View this question
An 8 bit counter/timer unit, and a signal of fixed frequency f are being used to estimate the frequency of an unknown oscillating signal. The minimum frequency which can be detected is approximately:
0%
0%
0%
0%
View this question
Which of the following statements about data structures are NOT correct?
0%
0%
0%
View this question

A PIC16F8877 Programmer has written three different routine(s) to multiply an unsigned 3-bit number stored in a register labelled RegA by 8, and return with the product in the working register. 

In the particular application 

  • there is no guarantee that the upper 5 bits of RegA are clear
  • the routine must complete within 10 instruction cycles regardless of the value in RegA

Which routine should be chosen?

Mul8I

movf RegA,W

btfsc STATUS,Z

return

addwf RegA,W

addwf RegA,W

addwf RegA,W

addwf RegA,W

addwf RegA,W

addwf RegA,W

addwf RegA,W

return

Mul8II

movf RegA,W

andlw 0x07

addwf PCL,F

retlw 0x00

retlw 0x08

retlw 0x10

retlw 0x18

retlw 0x20

retlw 0x28

retlw 0x30

retlw 0x38

Mul8III

bcf STATUS,C

rlf RegA,W

bcf STATUS,C

rlf RegA,W

bcf STATUS,C

rlf RegA,W

return

0%
0%
0%
View this question
  my_sub movlw 0x66

addwf Reg,W

btfsc STATUS,C

retlw 1

btfsc STATUS,DC

retlw 1

retlw 0

Choose the one incorrect statement. The above piece of code will:
0%
0%
0%
0%
View this question
You have written a program for the PIC16F877 which uses interrupts from Timer0 to toggle the state of a port pin connected to an LED. When you start the program, the LED goes from off to on and then stays on. The port pin is the only one which is configured as an output. Which of the following is NOT a plausible explanation:
0%
0%
0%
0%
View this question
You are attempting to stop ALL interrupts from interfering with a section of your code. Which ONE of the following code wrapper snippets will do the job?
0%
0%
0%
0%
View this question
If the byte 110101102, represented a packed BCD number, the BCD number would be:
0%
0%
0%
0%
View this question
Which ONE of the following statements about the MPASM assembler directives is correct:
0%
0%
0%
0%
View this question
If the value in the working register is 3 when the subroutine

lkup is called, what is the value returned in the working register?

 lkup 

addwf PCL,F

retlw .52

retlw .33

retlw .29

retlw .0

0%
0%
0%
0%
View this question

Want instant access to all verified answers on myelearning.sta.uwi.edu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome