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: 92)
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  CS401 Assignment 2 Solutinn Spring 2019 Mishi Khan 0 232 05-31-2019, 02:03 AM
Last Post: Mishi Khan
  CS401 Assignment 2 Idea Solution Spring 2019 Mishi Khan 0 190 05-30-2019, 02:26 AM
Last Post: Mishi Khan
  CS401 Assignment Solution Spring 2019 Mishi Khan 0 249 05-11-2019, 10:18 PM
Last Post: Mishi Khan
  CS401 GDB Solution Mishi Khan 0 603 02-05-2019, 11:36 PM
Last Post: Mishi Khan
  CS401 Assignment 2 Mishi Khan 0 366 01-29-2019, 07:32 PM
Last Post: Mishi Khan
  CS401 Assignment Solution 2018 Mishi Khan 0 614 12-10-2018, 11:55 PM
Last Post: Mishi Khan
  Required CS401 - Computer Architecture and Assembly Assignment solution Javed Latif 1 2,080 05-10-2018, 09:23 AM
Last Post: Iqra kouser
  Need CS401 Assignment Solution shah zeb 1 3,910 11-15-2017, 01:05 PM
Last Post: Pakistani
  need cs401 assignment solution Sadaf Afzal 2 1,311 11-14-2017, 08:28 PM
Last Post: Admin
  CS401 Assignment 1 Solution Fall 2017 Admin 0 4,236 11-14-2017, 08:25 PM
Last Post: Admin



Users browsing this thread:
1 Guest(s)