logo

Crowdly

Browser

Додати до Chrome

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

Шукаєте відповіді та рішення тестів для ECNG2006 : Introduction to Micro-Processors (Semester II- 2025/2026)? Перегляньте нашу велику колекцію перевірених відповідей для ECNG2006 : Introduction to Micro-Processors (Semester II- 2025/2026) в myelearning.sta.uwi.edu.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

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%
0%
Переглянути це питання
Which of the following statements about data structures are NOT correct?
0%
0%
0%
0%
Переглянути це питання

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%
0%
Переглянути це питання
  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%
0%
Переглянути це питання
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%
0%
Переглянути це питання
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%
0%
Переглянути це питання
If the byte 110101102, represented a packed BCD number, the BCD number would be:
0%
0%
0%
0%
0%
Переглянути це питання
Which ONE of the following statements about the MPASM assembler directives is correct:
0%
0%
0%
0%
0%
Переглянути це питання
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%
0%
Переглянути це питання
We have a circuit in which a switch is connected to PORTB<6> and to ground. If PORTB pull-ups are enabled, all PORTB pins are configured as inputs, and no other PORTB pins are connected to circuitry, what value is placed in the working register by the instruction movf PORTB,W when the switch is ON?
0%
0%
0%
0%
Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на myelearning.sta.uwi.edu?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome