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 GDB Solution Mishi Khan 0 112 02-05-2019, 11:36 PM
Last Post: Mishi Khan
  CS402 Assignment Solution Mishi Khan 0 54 02-05-2019, 11:18 PM
Last Post: Mishi Khan
  CS411 Complete Assignment Solution Mishi Khan 0 62 01-31-2019, 01:30 AM
Last Post: Mishi Khan
  CS401 Assignment 2 Mishi Khan 0 88 01-29-2019, 07:32 PM
Last Post: Mishi Khan
  CS401 Assignment Solution 2018 Mishi Khan 0 401 12-10-2018, 11:55 PM
Last Post: Mishi Khan
  Required CS401 - Computer Architecture and Assembly Assignment solution Javed Latif 1 1,683 05-10-2018, 09:23 AM
Last Post: Iqra kouser
  Need CS401 Assignment Solution shah zeb 1 2,961 11-15-2017, 01:05 PM
Last Post: Pakistani
  need cs401 assignment solution Sadaf Afzal 2 1,023 11-14-2017, 08:28 PM
Last Post: Admin
  CS401 Assignment 1 Solution Fall 2017 Admin 0 3,157 11-14-2017, 08:25 PM
Last Post: Admin
  CS401 assignment 1 solution of question 1 Rubaisha(Moody Girl) 0 1,502 11-16-2016, 10:36 AM
Last Post: Rubaisha(Moody Girl)



Users browsing this thread:
1 Guest(s)