Re: RosAsm - right click

From: The Wannabee (faq_at_.@.@.@.@.@szmyggenpv.com)
Date: 05/03/04


Date: Mon, 03 May 2004 21:56:29 +0200

På 3 May 2004 10:27:38 -0700, skrev C <blackmarlin@asean-mail.com>:

> Betov <betov@free.fr> wrote in message
> news:<XnF94DDD96FB8E2Fbetovfreefr@212.27.42.72>...
>> "Beth" <BethStone21@hotmail.NOSPICEDHAM.com> écrivait news:IWllc.150
>> $XP4.136@newsfe6-win:

> The pipe '|' cannot be used as it is already used as the
> bitwise or operator (as it common with many languages,
> specifically NASM, which Luxasm inherits many features
> from.)

Why does asm need an "or operator" ?

> Luxasm currently uses '\\' (as the '\' glyph is used
> as a line continue, the '\\' sequence seems logical for
> a line reset operator.) While use of this feature is
> discoraged in the general case, for certain specific
> cases it results in cleaner code; commonly the case
> where the code itself is highly repetitive, eg:
>
> cmp al, 1 \\ je fn_1
> cmp al, 2 \\ je fn_2
> cmp al, 3 \\ je fn_3
> cmp al, 4 \\ je fn_4
>
Maybe functional, but it looks like the functionality is not prioritized.
Little confusing to me as
// "is comment out this line" (in delphi)

> -or-
>
> #if ##1 #id ebx \\ mov eax, ebx
> # else#if ##1 #id ecx \\ mov eax, ecx
> # else#if ##1 #id edx \\ mov eax, edx
> # else#if ##1 #id esi \\ mov eax, esi
> # else#if ##1 #id edi \\ mov eax, edi
> #endif

Yes RosAsm uses the same character, but it does not in any way SPRAY half
a page with it. You have 26 of those in there, placed for maximal blurring
effect. I find it very hard to read, and very hard to tell my brain to
force itself to read it. RosAsm macros seems much easier to read.
Allthough they use same char for parameters. What about "`" instead or
some other, less obscuring char ? Whatever. It may only be my eyes....,
just a thought.

     `if ``1 `id ebx ~ mov eax, ebx
        ` else`if ``1 `id ecx ~ mov eax, ecx
          ` else`if ``1 `id edx ~ mov eax, edx
          ` else`if ``1 `id esi ~ mov eax, esi
          ` else`if ``1 `id edi ~ mov eax, edi
          `endif

just a sugestion. but now I can more easily see what the macro means. What
is "id", is it like identical?

> C
> 2004-05-03

-- 
	


Relevant Pages

  • Re: Grandfather clock - "Harling, Liverpool"
    ... When did features like these become common? ... Anyone know if it was common that it was the cabinetmakers name on the ... Of course there were clock makers as well, ... then it is probably the one - very rare name in Liverpool. ...
    (alt.horology)
  • Re: Come ON PEOPLE
    ... They have certain features in common with fish. ... failed world-view is hardly the definition of reality. ... A visit and asserted "They have certain features in common with fish. ...
    (talk.origins)
  • Re: Is JavaScript "completely unrelated" to Java?
    ... not have in common. ... And quite a few features there are in that set. ... JavaScript has no types at all, while Java provides moderately strong type rules. ... It has no typing and only prototype inheritance. ...
    (comp.lang.java.programmer)
  • Re: Related shapes objects on different pages
    ... > common with the floor plan, different features would be shared with the ... Common Visio Questions http://www.mvps.org/visio/common_questions.htm ...
    (microsoft.public.visio.general)
  • Re: Update reads as Mac instead of IBM
    ... the more common is that you're using an Internet Security ... software package that features an anonymizer or that 'spoofs' ...
    (microsoft.public.office.misc)