Re: Structures in Assembly Language
From: The Wannabee (Faq_at_.@.@.@szmyggenpv.com)
Date: 08/21/04
- Next message: Betov: "Re: order of operands in HLA"
- Previous message: NoDot: "Re: HLA v1.69 crashes over this source!"
- In reply to: Ed Beroset: "Re: Structures in Assembly Language"
- Next in thread: Ed Beroset: "Re: Structures in Assembly Language"
- Reply: Ed Beroset: "Re: Structures in Assembly Language"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 21 Aug 2004 20:03:46 +0200
På Sat, 21 Aug 2004 13:47:14 GMT, skrev Ed Beroset
<beroset@mindspring.com>:
>
> Another problem with the RosAsm approach is that each element has no
> type information associated with it.
Please this is not "the RosAsm" approach, this is my approach to RosAsm.
You point about not having type info is incorrect.
SizeOf_TComposite3DObject says : it inherited from TComposite3DObject
+ its says something about the size of the inherited data.
similarly : SizeOf_Double is to also have type information. Its long for
Double. And it speaks the truth.
> This has the practical effect that the assembler can give little
> assistance in finding errors. For instance:
Oh you ment type info to the assembler..... Oki. Sofar that has not been
needed. I need only to make sure that I wrote it correctly. And test. In
real life, it works very well. As said before this but a blip on my
timetable.
> TAeroPlane.Destination.designator = TAeroPlane.Destination.y
>
> This isn't RosAsm syntax (I don't program for Windows and have no use
> for RosAsm) but that doesn't really matter for this example. The point
> is that because the assembler is not given any type information, there
> would be no way *possible* to detect that we're trying to put a
> four-byte quantity into a three-byte quantity (assuming that doubles are
> 4-bytes in RosAsm). This kind of problem is much more fundamental
> because it can't realistically be added using macros.
Well. Can we start to remember soon that this is an assembler forum ?
>
> Ed
>
-- What is RosAsm ? http://betov.free.fr/RosAsm.html
- Next message: Betov: "Re: order of operands in HLA"
- Previous message: NoDot: "Re: HLA v1.69 crashes over this source!"
- In reply to: Ed Beroset: "Re: Structures in Assembly Language"
- Next in thread: Ed Beroset: "Re: Structures in Assembly Language"
- Reply: Ed Beroset: "Re: Structures in Assembly Language"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|