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: 114)
#2
Yaar ye na dwload ho rahi .. ooper se question e galt hai
  


Possibly Related Threads…
Thread Author Replies Views Last Post
  CS401 GDB Solution Fall 2020 Ayra Suleman 0 149 01-31-2020, 07:38 PM
Last Post: Ayra Suleman
  CS401 Assignment 3 Solution Fall 2020 Ayra Suleman 0 174 01-20-2020, 12:35 AM
Last Post: Ayra Suleman
  CS401 Assignment 2 Solution Fall 2019 Ayra Suleman 0 409 11-26-2019, 11:33 PM
Last Post: Ayra Suleman
  CS401 Assignment Solution Fall 2019 Ayra Suleman 0 223 11-15-2019, 02:44 AM
Last Post: Ayra Suleman
  CS401 GDB Solution Spring 2019 Ayra Suleman 0 1,200 08-10-2019, 01:13 AM
Last Post: Ayra Suleman
  CS401 Assignment Solution Spring 2019 Ayra Suleman 0 286 07-23-2019, 08:18 PM
Last Post: Ayra Suleman
  CS401 assignment 3 Muhammad Yaseen 0 234 07-22-2019, 11:30 AM
Last Post: Muhammad Yaseen
  CS401 Assignment 2 Solutinn Spring 2019 Mishi Khan 0 579 05-31-2019, 02:03 AM
Last Post: Mishi Khan
  CS401 Assignment 2 Idea Solution Spring 2019 Mishi Khan 0 474 05-30-2019, 02:26 AM
Last Post: Mishi Khan
  CS401 Assignment Solution Spring 2019 Mishi Khan 0 498 05-11-2019, 10:18 PM
Last Post: Mishi Khan



Users browsing this thread:
1 Guest(s)