Re: from elsewhere, an assembler
- From: "rhyde@xxxxxxxxxx" <rhyde@xxxxxxxxxx>
- Date: 9 Apr 2007 13:15:07 -0700
On Apr 9, 8:38 am, "Wolfgang Kern" <nowh...@xxxxxxxxxxx> wrote:
Randy wrote:
Maybe I just talk for me yet (I wrote an whole OS in machine code),You really *do* talk for yourself here. Being able to change the
but the problem with lateron changed structures applies to all
programming methods and often a rewrite from scratch is the only
solution then, also for VHLL-source (as you mentioned this below).
composition of a structure without rewriting all your code is a
*fundamental* thing to be able to do. Even if your assembler doesn't
support structs/records that make this process trivial, you can still
achieve almost the same thing using equates (at least, as far as being
able to change your structures around without rewriting everything).
You are discovering one of the main reasons why almost *no one* works
in binary machine code as a matter of course. There are a *few* times
when working in machine code is acceptable, but the time this is
needed is very rare. Rewriting one's code to do simple things like
move objects around in memory, relocate subroutines, or change the
definition of some structure is a non-starter.
So please let me know how you react when vista's new windoze API
need more and/or other arguments than what's in your library.
How is this any different than when a new Linux or FreeBSD API needs
more or different arguments than the APIs I originally called? No big
deal -- it's easy enough to write a wrapper function to fill in
default parameter values, adjust data types, stuff like that. Indeed,
it's really no different than calling Windows or Linux primitives from
the HLA stdlib. And the HLA stdlib is the perfect place to put this,
as it insulates applications that are written using the stdlib from
such details. That is the beauty of such abstractions.
Cheers,
Randy Hyde
.
- Follow-Ups:
- Re: from elsewhere, an assembler
- From: Wolfgang Kern
- Re: from elsewhere, an assembler
- References:
- from elsewhere, an assembler
- From: cr88192
- Re: from elsewhere, an assembler
- From: Wolfgang Kern
- Re: from elsewhere, an assembler
- From: cr88192
- Re: from elsewhere, an assembler
- From: Wolfgang Kern
- Re: from elsewhere, an assembler
- From: cr88192
- Re: from elsewhere, an assembler
- From: Wolfgang Kern
- Re: from elsewhere, an assembler
- From: cr88192
- Re: from elsewhere, an assembler
- From: Wolfgang Kern
- Re: from elsewhere, an assembler
- From: rhyde@xxxxxxxxxx
- Re: from elsewhere, an assembler
- From: Wolfgang Kern
- from elsewhere, an assembler
- Prev by Date: Re: from elsewhere, an assembler
- Next by Date: Re: from elsewhere, an assembler
- Previous by thread: Re: from elsewhere, an assembler
- Next by thread: Re: from elsewhere, an assembler
- Index(es):
Relevant Pages
|