Re: MASM documentation

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks all. Some links were useful, some were not. There is no documentation for
anything important; a couple of the links were fictional works about what assemblers might
do someway, but using the constructs in a real program causes the assembler to crash
(Microsoft wants to legitimize the use of this word by guaranteeing that no one will ever
again be able to deduce what "crash" means, by hiding all useful information).

But it got me further than I had been before. Today's problem: how to use a struct
declaration when the pointer to the structure base is in a register.

The construct
mov eax, [ecx].StructureName.field

causes the assembler to "stop working", whatever that now means. (It probably means the
code has never been tested...syntax errors should not cause programs to take internal
failures that terminate their execution...)

Anyway, I'm off the net for a week, teaching in Columbia MD all next week.

(By the way, the documentation on STRUCT is, to put it mildly, totally useless, but at
least the documentation is largely self-consistent in that regard, being almost uniformly
totally useless)
joe

On Fri, 13 Nov 2009 12:03:27 -0500, Joseph M. Newcomer <newcomer@xxxxxxxxxxxx> wrote:

Has anyone ever encountered the documentation for MASM. Not the useless garbage in the
MSDN, but real documentation. THe kind that gives the syntax of identifiers, for example,
or explains what options are available with the OPTIONS directive (not just a list of
them, but the actual explanations)? Or the syntax of a string, or of an initializer?

I'm reverse-engineering some of this as I am designing a course in x86 assembly code
(really! Turns out people need to *read* it), but I'd be happier if I found real
documentation somewhere.

The last time I wrote assembler it was for a device driver in MS-DOS, in 1989. But
apparently some things never go away, such as the need to know it, but nobody teaches it
any longer.
joe
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: Yes, we get to point out Renes exaggerations about RosAsm, Again
    ... There has been documentation for fasm for... ... What does that statement have to do with FASM's documentation quality? ... documentation, tutorials, and books supporting your assembler. ... There are many things you fail to understand. ...
    (alt.lang.asm)
  • Re: LuxAsm questions
    ... example is from Windows, simply because Windows has the ".DLL" ... ReactOS assembler colleagues that this idea can work with them ... handy piece of "documentation" that can be put into the "help ... Hmmm, indeed, we probably could do with a "design document" just ...
    (alt.lang.asm)
  • Re: Your opinion on the Agner fog manuals.
    ... Perhaps the fact that those "advanced assembly language programmers" ... Boy, you're really stuck on that *one sentence* in the documentation, ... Try searching for information about the LISA assembler sometime. ...
    (alt.lang.asm)
  • RE: Reference for DCB coexistence with RMODE 31 programs?
    ... I felt sufficiently frustrated at the lack of the documentation I was ... Behalf Of Charles Mills ... I've got some assembler subroutines in which I rather ... For IBM-MAIN subscribe / signoff / archive access instructions, ...
    (bit.listserv.ibm-main)
  • Re: Structures in Assembly Language
    ... "Alex McDonald" écrivait ... such a level of intellectual dishonnesty pushes you ... the Members of the "instances" of the STRUCT, ... Assembler, because it would no longuer be an Assembler, ...
    (alt.lang.asm)