CrazyEngineers
  • 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
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • shalini_goel14

    MemberMar 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
    Are you sure? This action cannot be undone.
    Cancel
  • iRawr

    MemberMar 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
    Are you sure? This action cannot be undone.
    Cancel
  • shalini_goel14

    MemberMar 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
    Are you sure? This action cannot be undone.
    Cancel
  • iRawr

    MemberMar 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 .___.
    Are you sure? This action cannot be undone.
    Cancel
  • silverscorpion

    MemberMar 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!!
    Are you sure? This action cannot be undone.
    Cancel
  • raj87verma88

    MemberMar 11, 2009

    All assembly programs are dependent on the microcontroller or/and microprocessor used. Same program may not work on two different models.
    Are you sure? This action cannot be undone.
    Cancel
  • scurrminator

    MemberMar 17, 2009

    #-Link-Snipped-#

    its there in this link
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register