Aaah! Don't go there Prelude, I'll get nightmares!
Printable View
Aaah! Don't go there Prelude, I'll get nightmares!
You are a great teacher!
This seems a pretty evil piece of code.Code:struct foo {
foo bar;
};
What's the size of this struct? :D
Which is why it's wrong.
>What's the size of this struct?
0, obviously. :rolleyes:
As I recall, I loved pointers, thought they were the best things ever created. You could just spin 'em around where ever in the blink of an eye.
Offsets yes, that's what they are called! Assembly, dare I even remember that far back? Nope, and I loved coding in assembly, folks thought I was nuts. I think it fit the way I think better than the newer languages do, except pascal, I loved pascal.
OUtta here.
Assembly is fun. Sometime I wan't to get away from that simplistic syntax and I start messing with Assembly.
Coding in protected mode assembly is fun. 16 bit real mode assembly with segments...not good.
Hmm... never tried that. I wonder if I can do it with MASM.Quote:
Coding in protected mode assembly is fun. 16 bit real mode assembly with segments...not good.