Re: Question about jumps




Herbert Kleebauer wrote:
Evenbit wrote:

...and then you add some more until you run into code that doesn't
work...

I don't understand the purpose of the macros.

I'll bet Evenbit doesn't understand your non-standard mnemonics,
either.

If they are
only a few instructions, then write them directly into the
code (makes the code better readable).

Try reading the Pragamatic Programmer sometime.
Macros are a great tool for commonly-used sequences (even if they are
short) to prevent entering repetitive code into a program.

And if they are many
instructions, write it as a subroutine and not as a macro.

Surely you understand the difference between a macro and a subroutine
and why you would choose one over the other?

The
same program in a readable version without any macros:

"Readable" is highly debatable, given the proprietary nature of your
assembler's syntax.

Cheers,
Randy Hyde

.



Relevant Pages

  • Re: RosAsm?
    ... not what the instructions are. ... With a good set of macros this can be made even clearer... ... in this vain in my option the only programmers who should be ... by the assembler in a "Label not defined" error and probably ...
    (alt.lang.asm)
  • Re: Developing a Template - Questions on Instructions to the User
    ... Please help me understand how these macros are different from the ... default printing (assuming that the user has NOT turned on HIDDEN TEXT ... formatting marks to ON when a template is opened, ... > it to all the instructions. ...
    (microsoft.public.word.docmanagement)
  • Re: Developing a Template - Questions on Instructions to the User
    ... The point of the macros is that they change the Hidden setting of the ... Instructions style to true before printing, and change it to false again ... creating a document based on the template. ...
    (microsoft.public.word.docmanagement)
  • Re: How do I set Tab Stops for only 1 section of a Word doc?
    ... The article does not require you to know how to create and run macros. ... hard to see how the instructions could be much simpler than this: ... > How do I set the tab stops for only one section of a Word document, ... > different tab stops for it's formatting when it was created. ...
    (microsoft.public.word.pagelayout)
  • Re: Mail Merge Attachment - for beginners....
    ... Please reply to the newsgroup unless you wish to avail yourself of my ... Doug Robbins - Word MVP ... For the macro part of it, see the article "What do I do with macros sent ... make sure that you read and follow the instructions exactly. ...
    (microsoft.public.word.mailmerge.fields)