Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

 

Instructions

Please read the following instructions carefully before submitting assignment:

It should be clear that your assignment will not get any credit if:

 

  • The assignment is submitted after due date.
  • The submitted assignment does not open or file is corrupt.
  • Solution is copied from any other source.

 

Note: You have to upload only .doc file. Assignment in any other format (extension) will not be accepted.

 

Objective

The objective of this assignment is to enhance your knowledge about;

 

  • Software Interrupts
  • Real Time Interrupts and Hardware Interfacing

 

Assignment

 

 

Question:

 

DC motor (fig 1) is operated through two terminals, whenever the potential difference is created (through batteries, cells etc) across these terminals the motor starts its motion.

 

           

 

Suppose we have connected a DC motor to our system’s parallel port through a secure circuitry (fig 3).

 

We wish to operate the DC motor through our parallel port (fig 2) using some input through our keyboard. Like “F” key for running motor in “Forward Direction”, “R” for “Reverse Direction”, “S” for “Stop” and “E” for “Exit from code”.

 

We have suggested that we will use parallel port’s Pin 2 and Pin 3 (the last 2 pins of parallel port’s data check fig 2 and table 1).

 

 

Pin 2

Pin 3

Outcome

0

0

Stop

0

1

Forward

1

0

Reverse

1

1

No Operation

Table 1

 

You have to write a code in assembly language that take an input character from keyboard (S, F, R and E) and on the basis of these characters transmit the code (with respect to the truth table) to the parallel port to operate that connected DC motor.

 

NOTE: your code only use ASCII code for Capital letters F, R, S and E as an input from the keyboard and will transmit the specific data to the parallel port. Through this program, we are interested in communicating with a DC motor through parallel port.

 

Views: 7720

Attachments:

Replies to This Discussion

Please Discuss here about this assignment.Thanks

plzzz discuss q k meri samajh me ye subject aa hi nahi raha :P

its electronic type and we write the code and give the instruction to work the circuit like as

Pin 2

Pin 3

Outcome

0

0

Stop

0

1

Forward

1

0

Reverse

1

1

No Operation

Table 1

 




PLEASE ANY TELLS HOW TO WRITE THIS PROGRAM 

this is too much difficult dont know how to do this

Kindly listen Lecture no 24 to 27. It will give 90% idea to solve assignment.

please any one

plz any1 help in this assignment

Anyone solve this assignment yar.

yar ap b mery jaisy ho ,agr kahe sy smaj a jaey to mujy zaror bta daina, mae b bahot pershan hon k is subject ka to kuch smaj he nahi ata k start kahan sy hota hein aur stop kahan peh hota hein.

C++ k hoty hoey pta nahi VU ko assembly ki keya zarorat par gye the??

plzzzz share solution

koe mugay v sloution day dooooooooooooooooo

RSS

© 2022   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service