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 9254201
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:24:28+00:00 2026-06-18T11:24:28+00:00

I have learned a bit of assembly code and also learned that there is’t

  • 0

I have learned a bit of assembly code and also learned that there is’t that much good tutorials on the internet for this. I was wondering about sending signals with to certain devices
ex. parallel ports, usb(perhaps)
I was wondering if there was any code anyone can share to lead me in the right direction. And in-case you didn’t know by signal I mean sending out voltage.

So to sum it up I would like to know how to interact with certain ports with assembly

I am currently using DosBox for running assembly, and using flat assembler to program. This is all running on window 8.

Thanks in advance, 36redsoxfan

  • 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-06-18T11:24:29+00:00Added an answer on June 18, 2026 at 11:24 am

    I’m not an fasm expert… But, according to this post… Which may or may not be for fasm…

    http://board.flatassembler.net/topic.php?t=8638

    Set your bios as Bidirectional Parallel port mode (SPP)

    This sets the I/O permission:

    mov eax,101                      ; SYS_IOPERM 
    mov ebx,Base_Parallel         ; 378H 
    mov ecx,Size                      ; 3 
    mov edx,1                         ; Turn ON 
    int 80H 
    test eax,eax 
    js Error_Set_IO 
    

    To Write:

    mov dx,37ah 
    in al,dx 
    and al,11011111b             ; reset bit 5 ( Write mode) 
    out dx,al   
    
    mov al,0ffh                         ; turn on all 8 pin 
    mov dx,378h 
    out dx,al                           ; Write byte 
    

    To Read:

    mov dx,37ah 
    in     al,dx 
    or     al,00100000b          ; set bit 5 ( Read mode) 
    out   dx,al 
    
    mov dx,378h 
    in    al,dx                        ; Read byte 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Lets say I have a bit of javascript code that is passed a string
Very new to AJAX, but have learned a bit from online tutorials. If I
Just learned Python 3 in 7 days, and I have the feeling that there's
There's the following bit of Python code in a project I have to maintain:
I am confused a bit. What I have learned or been told is that
I have learned to use Lua a lot of the time and I also
I have learned from various tutorial that If a client can reasonably be expected
I have learned that Windows uses UTF-16LE on x86/x64 systems. What about Linux? Which
I have an application that stores images in a database. Now I have learned
I have learned a bit of webGL, using three.js mainly. I load .obj files

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.