Re: RosAsm injects extra bytes into your data
- From: "\\\\o//annabee" <http://www.TheWannabee.Org>
- Date: Fri, 29 Apr 2005 00:35:28 +0200
På 28 Apr 2005 15:18:11 -0700, skrev Alex McDonald <alex_mcd@xxxxxxxxxxxxxxx>:
I seem to remember you claimed to write code for IBM 360s. The BAL syntax should ring a few bells for you if its true. Plus, there's the small issue of the bug; the stosd runs over an extra byte.
Its not a bug :))) Its the way the CPU is designed :)))
Also, there is no 'Structure', here... :)
That's what the entire discussion in this thread is about.
No, it about rearranging data, for the purpose of optimizing datasegment usage. A useless idea, with few base in the real world at all.
Same as above.
Actually, I was wrong. It runs over by a byte. And structures are what the entire discussion in this thread is about.
Nope. Its about declaration of data.
RosAsm support 4 Types of Equates, ass-hole.
Name one that allows you to declare the end of this structure, sorry, data area without declaring some "Dummy Pointer" as well. None of them appears to be up to the task; the documentation doesn't help. Your equates look suspiciously like symbolic substitution.
We know you have no clue about assmebly, and therefore its really strange to see
you post anything in asm ng, but that you cant even understand what a label is ????
A label is a symbolic representation of a ADDRESS. A memory adress. Not anything else.
This is why there is a dummy Data, in the example.
Come on, get with the plan, Betov. Dummy data? Since when did an assembler that can control every bit and byte in the PE need dummy data? How is this enlightening for the novice? It's bad code, period.
Its redundant code. The memory is allready cleared.
Oh! I am afraid you miss everything... :)
What in particular? Have you posted some better code in some other thread in another ng?
:))))) Why are you even opening you month ? Are you lonly ?
There is no Structure.
Eh? Then what are these 11 bytes? A random placement of data? Are you suggesting that MyLastData isn't 7 bytes beyond ByteData? Just in case you forgot what you wrote;
[ByteData: B§ ? ? ? ? ? ? ? MyLastData: D§ ?]
Its several reservation of bytes in the dynamic datasegment,
initalized at runtime. The lables can be placed anywhere, and will then be used
by the code to access the data at diffrent addresses.
RosAsm is a mighty strange assembler if that isn't a structure.
:))))) oh lolly...it never ends.
There is no Structure.
That's what the entire discussion in this thread has been about.
Nope. Its a thread about data.
Therefore my initial answer, That was rally the most appropriated one:
Yep!
:))
Betov.
http://rosasm.org >
You'd be better served if you "appropriated" better code for your posts. As you're clearly an assembler novice, I would recommend HLA as a good starting point.
:))))))) :))))))) :)))))) :))))))
.
- 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
- Re: RosAsm injects extra bytes into your data
- From: Betov
- Re: RosAsm injects extra bytes into your data
- From: Alex McDonald
- Re: RosAsm injects extra bytes into your data
- From: Betov
- Re: RosAsm injects extra bytes into your data
- From: Alex McDonald
- Re: RosAsm injects extra bytes into your data
- From: Betov
- Re: RosAsm injects extra bytes into your data
- From: Alex McDonald
- Re: RosAsm injects extra bytes into your data
- From: Betov
- Re: RosAsm injects extra bytes into your data
- From: Alex McDonald
- Re: RosAsm injects extra bytes into your data
- From: Betov
- Re: RosAsm injects extra bytes into your data
- From: Alex McDonald
- HLA v1.76 is now available
- Prev by Date: Re: RosAsm injects extra bytes into your data
- Next by Date: Re: RosAsm injects extra bytes into your data
- Previous by thread: Re: RosAsm injects extra bytes into your data
- Next by thread: Re: RosAsm injects extra bytes into your data
- Index(es):