[A83] Re: Structs in asm


[Prev][Next][Index][Thread]

[A83] Re: Structs in asm



In a message dated 3/18/01 5:55:05 PM Central Standard Time, gtolson@snet.net 
writes:


> At 04:24 PM 3/18/01 -0700, you wrote:
> >
> >And structs would be....?  Structures?  Wha-?
> 
> In C(++) and most other languages, you can declare a data type of your own:
> 
> struct dude
> {
> string name
> int health
> char level
> int mana
> };
> 
> and then access like 
> 
> dude Bob;
> Bob.name="bob";
> bob.health=100;
> 
> C++ allows you to go further with the Class system ,where you can build
> data handling subroutines into the structure.  It sounds like areal pain to
> build in ASM, unless you built a compiler.  That'd be SWEET.
> 

Why do you need structs in ASM? Doesnt that defeat the purpose of ASM?  
Either you have hardcore low-level programming or a full C Compiler like 
TIGCC, not a blurry medium, that just junks up programs.

-Jason_K