Re: Segmentation in real mode
From: Betov (betov_at_free.fr)
Date: 03/12/05
- Next message: Beth: "Re: Segmentation in real mode"
- Previous message: Herbert Kleebauer: "Re: Segmentation in real mode"
- In reply to: Herbert Kleebauer: "Re: Segmentation in real mode"
- Next in thread: Herbert Kleebauer: "Re: Segmentation in real mode"
- Reply: Herbert Kleebauer: "Re: Segmentation in real mode"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 12 Mar 2005 11:36:02 GMT
Herbert Kleebauer <klee@unibwm.de> écrivait news:4232D11F.A23FD459
@unibwm.de:
> Frank Kotler wrote:>
>
>> 32-bit programming, in itself, is *easier* than 16-bit
>> programming - no worries about segments, and the addressing
>> modes are much more flexible. Once you feel ready to make
>> the switch (I'd learn how "call" and "ret" work - how to use
>> the stack to pass parameters, and keep the stack "sane"), I
>> think you'll like 32-bit programming... so don't waste *too*
>> much time with dos!
>
> It is not fair to tell this old but wrong fairytale
> to newcomer.
Yes, it _is_ fair. The opposite is evidently unfair.
> DOS doesn't restrict you in any way to
> to 16 bit operand size or 16 bit addressing modes
> and you are also not bound to real/v86 mode.
Then how is it that 99,999999...% of Dos posted examples
are 16 Bits .com Files?
> For learning assembly programming, there is nearly
> no difference between using DOS or Windows:
The very first one is that, with DOS, they are learning
stuff, that nobody uses since ages. So forth, learning
how to program an Application that nobody will even take
a look at, is simply demential.
> in
> DOS you are restricted in the amount of usable memory
> (but this really doesn't matter for learning assembly
> programming) and there is much less overhead in DOS
> than in Windows (executable file format, OS API) which
> makes it much easier to start assembly programming in DOS.
There are other interrest in Assembly than "learning Assembly".
For example, writing Applications in Assembly.
Assembly is not a Language for learning Assembly. All Languages
are for doing _something_.
> As an example a program which calculates the md5 hash
> for stdin. There is no way to tell if this is a Win32
> or a DOS program. It can be assembled for both, all
> you have to do is to insert the proper getc, putc and
> exit functions.
If so, why doing it for a dead OS?
You are just giving the proof that there is no reason
for spoiling time with DOS, with your own example! How
can you fail to see this? ... Stucks me... :(
Betov.
- Next message: Beth: "Re: Segmentation in real mode"
- Previous message: Herbert Kleebauer: "Re: Segmentation in real mode"
- In reply to: Herbert Kleebauer: "Re: Segmentation in real mode"
- Next in thread: Herbert Kleebauer: "Re: Segmentation in real mode"
- Reply: Herbert Kleebauer: "Re: Segmentation in real mode"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|