Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6082247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:16:05+00:00 2026-05-23T11:16:05+00:00

I have a circuit that have 8 input lines and a cable connected to

  • 0

I have a circuit that have 8 input lines and a cable connected to serial port of computer. Controller of port is connected in parallel configuration. (I have no idea about what this means! students of electronic engineering said that this means “you have to use signals asynchronously, eg each signal could be on or of independent to others”)

Now I should write an assembly code that reads some inputs from a file, process them, and set that data lines on or of. I can do the first 2, but don’t have any idea about ports.

Could you give me a start point? for example how do I initialize a port and how to set a line of data on serial port of a PC in assembly?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:16:05+00:00Added an answer on May 23, 2026 at 11:16 am

    I really think that you are confused – a lot. RS 232 is the protocol serial ports use. In its 9-pin version (DE-9) it does have 8 usable data lines, but only half of them are output pins and you cannot really control the data pin, short of sending actual data through it. Unless you have a device that incorporates a microcontroller with a serial interface, I doubt that it’s intended to be used with an RS-232 interface.

    RS-232 was, indeed, the connection used by some printers in the ’80s and early ’90s, usually dot-matrix printers. Unfortunately it was too slow for printing anything but ASCII text, hence the introduction of the parallel port, which, incidentally, does have 8 output lines. That port is known as “printer port” ever since the ’90s. In modern computers you can even control the pins of the parallel port somewhat separately, which is why it is widely used in electronics – well, that and the fact that it usues a 5 Volt TTL interface which is far easier to handle than the 12V serial ports use.

    You also don’t mention which operating system your program is supposed to be for, although if you intend to access the port directly with assembly, you are probably restricted to DOS or Windows 9x/Me.

    That said:

    • Assembly serial and parallel port programming for DOS. Also this and this.

    • Parallel port programming for DOS, Windows and Linux

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a control circuit that I communicate with via serial port. If the
I have a big design that includes a test-bench, some testing circuit and the
I have created a library class CircuitController that communicates with a control circuit via
I'm currently doing a project where I have to interact with a circuit I
I have some code in a common library to support internationalization. The basic idea
Unobtrusive JS suggests that we don't have any onclick attributes in our HTML templates.
I have a long, lazy sequence that I want to reduce and test lazily.
Background: I've created an online circuit design application where div tags are containers that
I have a control circuit which has multiple settings and may have any number
I need a book that teaches circuit design that will be useful when programming

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.