Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Question 1:. Find the duration of the delay of each of the code segments below if the crystal frequency is 16 MHz.
(a)
(b)
COUNTER EQU 0x40
COUNTER1 EQU 0x40
COUNT EQU OxAD
COUNTER2 EQU 0x41
COUNT1 EQU OxAD
DELAY MOVLW COUNT
COUNT2 EQU Ox7E
MOVWF COUNTER
AGAIN NOP
DELAY MOVLW COUNT1
NOP
MOVWF COUNTER1
LOOP1 MOVLW COUNT2
DECF COUNTER, BNZ AGAIN
F
MOVWF COUNTER2 LOOP2 NOP
RETURN
DECF COUNTER2,
BNZ LOOP2
DECF COUNTER1,
BNZ LOOP1
Question 2. What are the values of pons C and ID at the end of each of the following ro
ORG Ox10
CLRF TRISC
MOVLW 0x14
CLRF TRISD
MULLW 0x19
MOVLW Ox80
MULLW OxIE
MOVWF PORTC MOVLW OxAS MOVWF PORTD
MOVFF PRODL, MOVFF PRODH, END
PORTC PORTD
REPEAT RACE PORTC,
BTG PORTD, 5
BTFSS PORTC,
3
BRA REPEAT
HERE GOTO HERE
END
Question 3. Three LEDs are connected to pins 5 to 7 of port C. Write an Assembly program that will add 10 values that it receives through port B one value at a time. Once the sum of the values reaches or exceeds 0'100', one LED should turn on. Once the sum reaches or exceeds D'150', two LEDs should turn on. Finally, when the sum reaches or exceeds D'200', all LEDs should turn on. Verify the operation of your programs using MPLAB simulator. Include printout of the list file and file registers after execution.
Question 4. Write an Assembly program to find the number of ones in file register location 10H. Verify the operation of your programs using MPLAB simulator. Include printout of the list file and file registers after execution.
Question 5. Write a NOS Assembly program that will read 30 values through port B one value at a time. The first 10 values should be stored in addresses 50H to 59H, the second 10 values in addresses 60H to 69H, and the last 10 values in addresses 70H to 79H. Verify the operation of your programs using MPLAB simulator. Include printout of the list file and file registers after execution.
A low pass filter has a cut-off frequency of 8 kHz and a high pass filter has a cut-off frequency of 5 kHz. These two circuits are connected back to back in cascade to form an input-output system. How does this combination work, band pass or band ..
Consider a 1.5 MVA, 4.16 kV, 3φ. 60 Hz synchronous generator. When operating at full load and rated voltage at a power factor of 0.9 lag, WHAT is the stator current in phase b[magnitude & angle]
There are 15 randomly selected Multiple Choice questions
Input Xi and Yi of each Full Adder circuit in an arithmetic circuit has the digital logic specified by the following Boolean functions: Xi =Ai Yi = B*iS + BiCin* Where S is a selection variable, and Cin is the input carry, and Ai and Bi are the inp..
Two amplifiers are cascaded, one with a voltage gain of 6 db and the other with a voltage gain of 4. if 1 V is applied at the input of the first amplifier, what is the voltage at the output of the second amplifier
In a single-phase rectifier the input current can be approximated to have a triangular waveform every half cycle with a peak of 10A and a base of 60. Calculate the rms current through each diode.
An underdamped sensor with a static sensitivity of K=1, undamped natural frequency of omega=1400 rad/s, and damping ratio of zeta=0.5 is used to measure a sinusoidal signal with a frequency of 6 kHz.
After a package is ejected from the plane, how long will it take for it to reach sea level from the time it is ejected Assume that the package, like the plane, has an initial velocity of 200 mph in the horizontal direction.
A 220V dc shunt motor draws 10A at 1800rpm. The armature circuit resistance is .2ohm and the field winding resistance is 440 ohm.what is the torque developed by the motor
The donor distribution of a nonuniformly doped silicon sample can be approximated by N(x) = Noexp(-x/x0), where x0 = 1 µm. As no current flows under the open-circuit condition, a built-in electric field is established
A standard D cell flashlight battery is connected to a load of 3 ohms. After 6 hr of intermittent use the load voltage drops from an initial 1.5 V to a final useful voltage of 0.9 V. (a) Calculate the internal resistance of the battery at the load ..
show the construction of an asynchronous MOD 2 binary up/down counter withup/down counter control P, when P= 0, it counts up and, when P= 1,it counts downs.use JK flip-flop.
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd