CS401 Assignment 3 Solution
#1
Computer Architecture and Assembly Language Programming
CS401
Assignment 3 Solution

Questions No 01
Suppose, you are interfacing an old monochrome dot matrix printer (receipt printer) with your computer’s parallel port. The stated dot matrix printer will print receipts character wise, so the system will transmit each character parallelly.
 
The printer will be operated as under:
 
1. First, you should select the printer by setting “select printer” pin on your parallel port.
2. Initialize printer by sending initialize signal.
3. Read “acknowledge” pin.
4. Transmit ASCII character data to the data port of the parallel port.
5. Clear initialize signal.
6. Deselect printer.
 
You should write a subroutine to print
 
“Welcome to Virtual University of Pakistan”
 
Your subroutine will get each character as an input from keyboard using interrupt mechanism and transmit it to the printer port according to the stated working mechanism.

Solution:
Download attached file.


Attached Files
.pdf   CS401 Assignment 3 Solution.pdf (Size: 195.43 KB / Downloads: 63)
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Need CS401 Assignment Solution shah zeb 1 27 11-15-2017, 01:05 PM
Last Post: Pakistani
  need cs401 assignment solution Sadaf Afzal 2 168 11-14-2017, 08:28 PM
Last Post: Admin
  CS401 Assignment 1 Solution Fall 2017 Admin 0 135 11-14-2017, 08:25 PM
Last Post: Admin
  CS401 assignment 1 solution of question 1 Rubaisha(Moody Girl) 0 687 11-16-2016, 10:36 AM
Last Post: Rubaisha(Moody Girl)
  CS401 All Current Final Term Papers 20 August 2016 to 02 September 2016 Rubaisha(Moody Girl) 2 1,243 08-27-2016, 01:08 PM
Last Post: Rubaisha(Moody Girl)
  CS401 GDB Solution Rubaisha(Moody Girl) 0 631 08-08-2016, 09:09 PM
Last Post: Rubaisha(Moody Girl)
  CS401 GDB idea Rubaisha(Moody Girl) 2 829 08-05-2016, 01:25 PM
Last Post: malik535
  Cs401 assignment_3 solution Rubaisha(Moody Girl) 0 447 07-28-2016, 07:31 PM
Last Post: Rubaisha(Moody Girl)
  CS401 Current paper 2016 Nadeem Rana vu 0 765 05-29-2016, 03:47 PM
Last Post: Nadeem Rana vu
  Cs401 latest quizz #1 solved Rubaisha(Moody Girl) 0 641 05-25-2016, 04:19 PM
Last Post: Rubaisha(Moody Girl)



Users browsing this thread:
1 Guest(s)