Re: MASM as an addition to the VC Express edition now available
- From: Betov <betov@xxxxxxx>
- Date: 12 Jun 2006 09:07:01 GMT
Herbert Kleebauer <klee@xxxxxxxxx> écrivait
news:448D1CB1.44AF0ED@xxxxxxxxx:
Why do you write your assembler yourself? Why not just call MASM.DLL?
Why do you write your editor and debugger yourself, why not just call
functions in an existing edit.dll or debug.dll.
Why don't you do direct output to the screen memory, instead
of calling for an INT? And so on... At the end, why calling
for an OS, at all, as long as you can write your own? Absurd.
Now, why i do NOT:
* Use MASM? Because it is simply not usable.
* Call for an Edit DLL? Because there does not exist such a
set of functionalities that could save me from writting my
own, and because using an Edit-Control, would be more work
to customize to my needs, than to write it all from scrach.
* Call for the Debug Function? The fact is that we _do_. Why
do we? Because it is simpler than to rewrite our own from
scratch, in that case.
My only fixed opinion, in such matters, is just to take the
simpler way. Does the provided Function do what i need? If yes,
OK, i take it. I am not used to write for nope, and i have
other things to do than to rewrite things that exist and that
do all i need.
To execute a complete
editor in edit.dll is much more powerful than just calling functions in
kernel32.dll or user32.dll.
Customizing an existing functionality that does not do what
we need, is way more work than rewriting it all from scratch,
in such a case, a fully demonstrated by several other attempts.
And if you are not happy with the MASM
syntax, modify the HLA source (it is PD) to make your own "preparser"
to convert your preferred syntax to MASM syntax and call MASM as a
backend.
:]]]]]
You are so funny...
:]]]]]
For writing applications it is surely the right way to use what's
available and not to reinvent the wheel again and again (and you
also have to use the DLL interface if the program should work on
more than just one version of Windows). But this isn't true if
the goal isn't a program but to understand the working principles
(learn assembly programming). If a student has to write code to
output the content of a register to the screen, then it is no
good idea to say: I don't need to write this, there is already
such a function in an existing DLL, all I have to do is, to call
this function. On the other side, it's also no good idea if somebody
who wants to write a program, implements all the functions which
are already available in a DLL a second time himself.
Nothing but what i wrote above.
You have to learn how to add and multiply numbers. But once you have
learned it, then there is nothing wrong using a pocket calculator.
And then?
Betov.
< http://rosasm.org >
.
- Follow-Ups:
- Re: MASM as an addition to the VC Express edition now available
- From: Per1000IPDay6
- Re: MASM as an addition to the VC Express edition now available
- References:
- MASM as an addition to the VC Express edition now available
- From: hutch--
- Re: MASM as an addition to the VC Express edition now available
- From: Herbert Kleebauer
- Re: MASM as an addition to the VC Express edition now available
- From: hutch--
- Re: MASM as an addition to the VC Express edition now available
- From: Herbert Kleebauer
- Re: MASM as an addition to the VC Express edition now available
- From: hutch--
- Re: MASM as an addition to the VC Express edition now available
- From: Herbert Kleebauer
- Re: MASM as an addition to the VC Express edition now available
- From: randyhyde@xxxxxxxxxxxxx
- Re: MASM as an addition to the VC Express edition now available
- From: Herbert Kleebauer
- Re: MASM as an addition to the VC Express edition now available
- From: f0dder
- Re: MASM as an addition to the VC Express edition now available
- From: Herbert Kleebauer
- Re: MASM as an addition to the VC Express edition now available
- From: Betov
- Re: MASM as an addition to the VC Express edition now available
- From: Herbert Kleebauer
- MASM as an addition to the VC Express edition now available
- Prev by Date: Re: Program abnormally terminates
- Next by Date: Re: MASM as an addition to the VC Express edition now available
- Previous by thread: Re: MASM as an addition to the VC Express edition now available
- Next by thread: Re: MASM as an addition to the VC Express edition now available
- Index(es):
Relevant Pages
|