| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Regs |
G'Day John,
-=> Quoting John Gardeniers to Frank Adam <=-
Sorry about the late response..
JG> physically the same. regs.h is simply using a part of regs.x, thus
JG> making it a union which is made to look like two structures. I'll
JG> bet *that* cleared it up :)
Yes, it is starting to click somewhat.
FA> Because although i can read some assembly , i'm not at all comfortable
FA> writing them.
JG> So, you were born with a complete knowledge of C? If you can
Wasn't everyone ? :-)
JG> start. I have what amounts to a very good book on disk if you ever
JG> decide to give it a go and need any help.
Thanks, i'll keep that in mind, at this moment i have enough problems
trying to get to terms with C, a drawback of learning it by trial and
error only. I think i can write fair programs, but i still don't know
anywhere near well how the compiler works, why some things were made to
work in a particular way. To me that's like driving a car and not
knowing how it works and what makes it go.
JG> Only if it does it satisfactorily. How many times have you had
JG> trouble tracking down a bug, only to find it was some quirk of the
JG> compiler, not your coding? It's sure happened to me a few times.
To be strictly honest, not that i can remember. i do have all warnings
enabled, and as a habit eradicate all of them, even if they're absurd.
Other than that, it's normally a logical error in the code on my part.
Perhaps TC2 is just a great compiler..:-)
FA> There is also something about it not being ISO, and i believe
FA> i've heard that certain compilers don't support inline asm. (??)
JG> In-line assembly was one of the very first thing specified in
JG> the original draft of C. It's a vital part of the language and all
JG> compilers must support it. One of C's strongest features is it's
Yes you're right, i did a search, it does get a 4 or 5 line mention in
the current draft.
L8r Frank (fadam{at}ozemail.com.au).
---
* Origin: Melbourne PC User Group BBS (3:632/309)SEEN-BY: 3/103 50/99 620/243 623/630 632/50 107 108 309 348 360 371 504 525 SEEN-BY: 632/530 533 562 633/371 634/388 396 635/301 502 503 506 544 639/252 SEEN-BY: 711/401 409 410 413 430 808 809 932 934 712/515 713/888 714/906 SEEN-BY: 800/1 @PATH: 632/309 107 635/503 50/99 711/808 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.