Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.msdos.programmer > #4196

Re: Looking for .COM program sources in NASM Assembly

From Herbert Kleebauer <klee@unibwm.de>
Newsgroups comp.os.msdos.programmer
Subject Re: Looking for .COM program sources in NASM Assembly
Date 2022-09-07 10:11 +0200
Organization Aioe.org NNTP Server
Message-ID <tf9jmt$1o98$1@gioia.aioe.org> (permalink)
References <24f4d454-83f3-4c20-878b-f7a303cdffffn@googlegroups.com> <tf5rnk$p4p$1@gioia.aioe.org> <tf5rr7$p56$1@gioia.aioe.org> <20220906100913.95069a0e339b1d9a61d59b4b@127.0.0.1>

Show all headers | View raw


On 06.09.2022 11:09, Kerr-Mudd, John wrote:
> On Tue, 6 Sep 2022 00:05:27 +0200

>> > is just the data of the exe file format). Because NASM uses an awful

> a NASM DOS program to do what you posted would be about (guesses) 50 bytes.
> OK I'll post it here. Remind me in a week if I've not done so earlier.

The code and therefore the size is the same. The CPU doesn't know which OS
is running, it just executes your instructions step by step. The binary
of a Windows executable is much larger than a DOS .com program not because
of a bigger code but because of the file structure and the more complicated
interface to the OS.

Time goes by so slowly, but not so slowly that it still makes sense
to write DOS .com programs. If somebody wants to write assembly code
which can't be executed on current computer systems I would suggest
PDP11 or 68000. In opposite to 16 bit 8086 they have a well designed
processor architecture and there are also emulators available as
for DOS/x86.

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░█▀▀▀▀▀█░░▄▀░░▄█▄▄░█▀▀▀▀▀█░░░░
░░░░█░███░█░▀▄░▀░▄▄▀░░█░███░█░░░░
░░░░█░▀▀▀░█░░▀▄▄█▄███░█░▀▀▀░█░░░░
░░░░▀▀▀▀▀▀▀░█░▀▄█▄▀▄█░▀▀▀▀▀▀▀░░░░
░░░░▀▀▀▄▀▀▀█▀▄░▄▄█▄░███░░░▀░▄░░░░
░░░░▀░▀█▄█▀▀█▄█▄██▄░▀▀▄██░▀█▀░░░░
░░░░▀▀█▀▄▀▀█▀▄█░▄█░░█▀█▀░█░▀█░░░░
░░░░▀▄▄▄▄▀▀▀▀▄▄░▀█▀░█▀▀▀▄░▀█▀░░░░
░░░░▀░▀░░░▀▀▄▄▀▄▄▀███▀▀▀██░▄▄░░░░
░░░░█▀▀▀▀▀█░███░█▄███░▀░██░█▀░░░░
░░░░█░███░█░▀░░▄▄▀░░▀▀▀███▄▀░░░░░
░░░░█░▀▀▀░█░█░█░▄█▀▀█▀░░█▄░▄▀░░░░
░░░░▀▀▀▀▀▀▀░▀▀▀▀▀░░▀▀░▀▀░░░▀▀░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

Back to comp.os.msdos.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Looking for .COM program sources in NASM Assembly Paolo Amoroso <paolo.amoroso@gmail.com> - 2022-09-04 03:48 -0700
  Re: Looking for .COM program sources in NASM Assembly "Kerr-Mudd, John" <admin@127.0.0.1> - 2022-09-04 14:05 +0100
  Re: Looking for .COM program sources in NASM Assembly Steve Nickolas <usotsuki@buric.co> - 2022-09-04 12:47 -0400
    Re: Looking for .COM program sources in NASM Assembly Paolo Amoroso <paolo.amoroso@gmail.com> - 2022-09-05 00:39 -0700
    Re: Looking for .COM program sources in NASM Assembly "Kerr-Mudd, John" <admin@127.0.0.1> - 2022-09-05 10:54 +0100
      Re: Looking for .COM program sources in NASM Assembly Steve Nickolas <usotsuki@buric.co> - 2022-09-05 15:46 -0400
  Re: Looking for .COM program sources in NASM Assembly Herbert Kleebauer <klee@unibwm.de> - 2022-09-06 00:03 +0200
    Re: Looking for .COM program sources in NASM Assembly Herbert Kleebauer <klee@unibwm.de> - 2022-09-06 00:05 +0200
      Re: Looking for .COM program sources in NASM Assembly "Kerr-Mudd, John" <admin@127.0.0.1> - 2022-09-06 10:09 +0100
        Re: Looking for .COM program sources in NASM Assembly Herbert Kleebauer <klee@unibwm.de> - 2022-09-07 10:11 +0200
    Re: Looking for .COM program sources in NASM Assembly Paolo Amoroso <paolo.amoroso@gmail.com> - 2022-09-06 00:00 -0700
      Re: Looking for .COM program sources in NASM Assembly Herbert Kleebauer <klee@unibwm.de> - 2022-09-07 10:32 +0200

csiph-web