Results 1 to 5 of 5

Thread: IO in nasm32?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    241

    IO in nasm32?

    How do you do basic IO in nasm32?

  2. #2
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    Could you give me the link to NASM32?
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Depends on the OS. I think NASM32 is available for both Linux and Windows.
    In Linux, you can use system interrupts (similar to Dos int21h, but other interrupts).
    In Windows, you gotta link to the WinDLLs. kernel32 or user32, not sure.

    Or you find a NASM-compatible CRT that you can link against, then you can use gets and puts, or even printf.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  4. #4
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    It would be nice to have an assembler for Linux other than a recompiled (?) NASM-IDE assembler.
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

  5. #5
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    as, the GNU assembler. Has a strange syntax though, needs some getting used to.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width