Argh, adding stdin support to NASM is not going to
be as trivial as I had thought initially, because
the input file is read once per pass. As a result,
only the very first pass sees the stdin contents.
So to make this work for NASM, we'd have to buffer
the stdin contents during the first pass, and use
that buffered contents during subsequent passes.
Which isn't something I can spend time on right now.
Maybe later.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: NO
Amazingly NDISASM already supports stdin. Just type:
ndisasm - < infile
I'm gonna look into ading the same capability to NASM.
Logged In: NO
Argh, adding stdin support to NASM is not going to
be as trivial as I had thought initially, because
the input file is read once per pass. As a result,
only the very first pass sees the stdin contents.
So to make this work for NASM, we'd have to buffer
the stdin contents during the first pass, and use
that buffered contents during subsequent passes.
Which isn't something I can spend time on right now.
Maybe later.
Logged In: YES
user_id=804543
With the attached changes an input file name of "-" can
be used to select stdin.
Note that support for -bm or -bf is required -- see SF
RFE #897003 for details.
Logged In: NO
It would be also useful to assemble from stdin.
Logged In: YES
user_id=804543
Originator: NO
SF RFE #1705185 was a duplicate of this