Re: RosAsm injects extra bytes into your data
- From: Betov <betov@xxxxxxx>
- Date: 27 Apr 2005 16:17:47 GMT
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/ >
.
- Follow-Ups:
- Re: RosAsm injects extra bytes into your data
- From: Alex McDonald
- Re: RosAsm injects extra bytes into your data
- References:
- HLA v1.76 is now available
- From: randyhyde
- Re: HLA v1.76 is now available
- From: Betov
- Re: HLA v1.76 is now available
- From: randyhyde
- Re: HLA v1.76 is now available
- From: Betov
- RosAsm injects extra bytes into your data
- From: randyhyde
- HLA v1.76 is now available
- Prev by Date: Re: Optimizing Static Variable Layout
- Next by Date: Re: Optimizing Static Variable Layout
- Previous by thread: RosAsm injects extra bytes into your data
- Next by thread: Re: RosAsm injects extra bytes into your data
- Index(es):
Relevant Pages
|