Re: RosAsm injects extra bytes into your data



randyhyde@xxxxxxxxxxxxx écrivait news:1114614296.538830.235740
@f14g2000cwb.googlegroups.com:

>
> Betov wrote:
>
>>
>>
>> You have nothing to "share" and no "idea coming up",
>> here, as all of this does exist, in RosAsm, since day
>> one.
>>
>
> I guess that what I have to share is a bit beyond your comprehension.
> RosAsm, by default, automatically *injects* padding bytes everywhere.

This is what is called a Alignment, mind you. :)


> The point of my "idea" is rather than injecting all these padding bytes
> to align things, why not rearrange all the declarations to *minimize*
> the wasted space while maintaining the alignment the user requests.

Because this would be unusable, for the Programmer.

(The ones who have already written a bit of Assembly
will probably understand without explanations... :)


> RosAsm simply injects extra alignment bytes between separate
> declaration sections (even if the programmer does *not* explicitly
> request them, which is bad).

In RosAsm Syntax, for Datas, "[]" means

* "Let us Declare a Set of Data"

* "Let us Align this set of Data on a 4 boudary.

In case when the Programmer does not want of an
Alignement between two Blocks of Data, he writes:

[Block1Data: ....]

[<Block2Data: ....]

In case he would want another Alignement, he writes,
for example:

[<8 Block3Data: ....]


Now about "Re-organizing" the Data in Memory, i have
to apologize that i under-estimated your level of
stupidity: You are really impressive.

:)

Betov.

< http://rosasm.org/ >






.



Relevant Pages

  • Re: Release of RosAsm V.2.025a
    ... >> There is only a nobody attacking RosAsm. ... Betov sometimes deviates from the bureaucratized ... once a programmer becomes totally familiar with the ... "HLA.EXE is not an assembler. ...
    (alt.lang.asm)
  • Re: Between Assemblers
    ... > Betov wrote: ... >> not know how many Parameters he is passing, in an API ... > How wonderful it is that RosAsm doesn't need this facility as RosAsm ... we have never seen any programmer able to call ...
    (alt.lang.asm)
  • Re: A Little Law for Lapdogs :)
    ... Are you saying RosAsm supports those? ... > Since when would RosAsm have any need of a Tool like CVS? ... to simplify matters between developers. ... Betov Said ...
    (alt.lang.asm)
  • The Case Against RosAsm (#9)
    ... RosAsm Doesn't Do Structures ... Some bad Assemblers have a "STRUCT" KeyWord performing hidden Declarations ... What is effectively done by the Assembler would be expressed, ... the right Edit Control gives you the Structure Equates translation. ...
    (alt.lang.asm)
  • Re: Yet Another RosAsm Symbol table problem
    ... for Betov. ... days while John Kerry is sticking to a positive foundation. ... supporting Kerry compared to about 20 people supporting ... > prove to the amaized people that RosAsm is slower ...
    (alt.lang.asm)