Assembly Program for interfacing Printer Port

iRawr
@irawr-7ejtdp β€’ Oct 26, 2024

Haii.. hello to all, I found this forum very useful and informative~
Now that I'm an aspiring Computer Engineer soon, My Prof decided to gave us some cool projects like Interfacing Printer Port with Assembly Language.

Ive read about many topics about how to interface a printer port, but soon enough I'm having a hard time building a 'working' program by using an Assembly language πŸ˜”

My device that I need to interface with a printer port is a 7-segment display (cathode) and it looks like Ive done assembling the device. But silly enough to think how to start with the assembly program @__@

She told me to use some sort of debug programs (I think) like IDE, tasm and tlink to work with the program.. but I dont know how to use them. Hope you can help me with this Assembly Program since Im a very new in this kind of field. Like some sort of Tips or Examples (a working program is fine too 😁) of a program is welcome.

~ Thanks

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • shalini_goel14

    @shalini-goel14-ASmC2J Mar 10, 2009

    Hi iRawr,

    Yes we can help you in ASSEMBLY PROGRAM but do you know "Assembly language" because as far as I know it has very limited functions. Will you be able to do in Assembly?

    Have you tried anything till now?

    Please answer πŸ˜€

    Thanks
    Shalini

  • iRawr

    @irawr-7ejtdp Mar 10, 2009

    yes I already tried some assembly language basic functions and DOS functions..
    well um I mean basic like mov ah,01 dl,al syntax int 21h int20 stuff which I barely read in a book what does it do.

    but when I try to apply it for making an ideal and working program for my interfacing, I went nuts just how to start the program itself @_@

    The Project says that when I input a letter in a keyboard, it will be outputted to the 7-segment display, um like pressing a letter A then showing it to the display πŸ˜•

    some sort of mov ah,01 I think.. a keyboard input
    but dunno how to make the data move to the printerport then make the LEDs on 7-segment light o____o

  • shalini_goel14

    @shalini-goel14-ASmC2J Mar 10, 2009

    ok now I got what exactly you were asking πŸ˜€

    Don't worry , we are here to help you. πŸ˜€

    Just keep me reminding about it daily ok. I think it is not a big problem. I will find some time to look into it.OK

  • iRawr

    @irawr-7ejtdp Mar 11, 2009

    kay.. thanks for the concern 😁

    I tried something like this but dunno if it will work.

    MOV AH,08
    MOV AL,DL

    INT 21H

    MOV DX,0378H

    OUT DX,AL

    INT 21H
    INT 20

    but dunno if this program will be able to display letters to a 7-segment .___.

  • silverscorpion

    @silverscorpion-iJKtdQ Mar 11, 2009

    First of all, which processor or microcontroller are you using for this project? The assembly code you have given here is for which processor?

    Tell me that and then I might be able to help you!!

  • raj87verma88

    @raj87verma88-ZpL2Wn Mar 11, 2009

    All assembly programs are dependent on the microcontroller or/and microprocessor used. Same program may not work on two different models.

  • scurrminator

    @scurrminator-vGIQjz Mar 17, 2009

    #-Link-Snipped-#

    its there in this link