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
  CS604 Assignment 3 Solution Pakistani 2 261 07-26-2017, 06:17 PM
Last Post: Rubaisha(Moody Girl)
  CS507 Assignment solution Rubaisha(Moody Girl) 0 171 07-25-2017, 10:23 PM
Last Post: Rubaisha(Moody Girl)
  CS601 Assignment 4 Solution Rana 0 504 07-24-2017, 11:49 AM
Last Post: Rana
  CS504 Assignment 3 Rana 7 1,019 07-19-2017, 08:06 AM
Last Post: Rana
  CS502 Assignment 3 Solution Pakistani 0 326 07-18-2017, 10:00 AM
Last Post: Pakistani
  CS605 assignment-3 Solution Nadeem Rana vu 1 212 07-14-2017, 05:49 PM
Last Post: Pakistani
  CS601 Assignment 3 Solution Pakistani 2 406 07-13-2017, 10:57 AM
Last Post: Rana
  cs 601 Assignment Sadaf Afzal 2 265 07-11-2017, 11:13 AM
Last Post: Pakistani
  CS301 Assignment 3 Solution Pakistani 2 1,110 07-09-2017, 07:13 PM
Last Post: Rana
  CS101 Assignment 3 Solution Rana 2 1,002 07-08-2017, 08:07 PM
Last Post: Rana



Users browsing this thread:
1 Guest(s)