Home > Archive > C > June 2006 > OT: Good introduction to CPU/Memory terms
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
OT: Good introduction to CPU/Memory terms
|
|
| Seeker 2006-06-29, 6:56 pm |
| When I read about registers, pages in memory, offsets, all that, my
head swings because I don't understand a word. Is there some nice
tutorial that can teach that stuff?
| |
| Richard Heathfield 2006-06-29, 6:56 pm |
| S er said:
> When I read about registers, pages in memory, offsets, all that, my
> head swings because I don't understand a word.
Mostly you don't need to know it anyway, not to write C programs.
> Is there some nice tutorial that can teach that stuff?
I don't know of any *nice* ones, in the warm fluffy sense. But "The Art of
Assembly Language" is legally available online for free. It may or may not
be what you're looking for.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
| |
| Robert Gamble 2006-06-29, 6:56 pm |
| S er wrote:
> When I read about registers, pages in memory, offsets, all that, my
> head swings because I don't understand a word. Is there some nice
> tutorial that can teach that stuff?
www.google.com
Robert Gamble
| |
| santosh 2006-06-29, 6:56 pm |
| S er wrote:
> When I read about registers, pages in memory, offsets, all that, my
> head swings because I don't understand a word. Is there some nice
> tutorial that can teach that stuff?
As Richard has mentioned, the 'Art of Assembly Langauge' available at
the URL below does an admirable job of introducing x86, 32 bit,
application oriented assembly programming. It only deals superficially
with Operating System related aspects like Paging etc.
<http://webster.cs.ucr.edu/>
Just Google for the terms that confuse you. Many links have excellent
information. However without some knowledge of Mathematics and Physics,
you're bound to be frustrated.
| |
| Skarmander 2006-06-29, 6:56 pm |
| santosh wrote:
> S er wrote:
>
> As Richard has mentioned, the 'Art of Assembly Langauge' available at
> the URL below does an admirable job of introducing x86, 32 bit,
> application oriented assembly programming. It only deals superficially
> with Operating System related aspects like Paging etc.
>
> <http://webster.cs.ucr.edu/>
>
> Just Google for the terms that confuse you. Many links have excellent
> information. However without some knowledge of Mathematics and Physics,
> you're bound to be frustrated.
>
No knowledge of physics is required to understand the concepts he mentioned,
and no more knowledge of mathematics is required than what you learn in
elementary school. The smidgeons of discrete mathematics you'll need that
you probably haven't had in elementary school (boolean algebra, mostly) are
easy to pick up.
To understand the entirety of processor design does require a good deal of
both, but that's probably not what he's asking.
S.
| |
| Seeker 2006-06-29, 6:56 pm |
| Richard Heathfield <invalid@invalid.invalid> wrote in
news:85ednd4Aopdk3znZRVnyhQ@bt.com:
> Mostly you don't need to know it anyway, not to write C
> programs.
>
That's what the OT was in the topic for :-)
>
> I don't know of any *nice* ones, in the warm fluffy sense. But
> "The Art of Assembly Language" is legally available online for
> free. It may or may not be what you're looking for.
>
It is definitely an interesting read, I've not read it all yet. But
it's specifically targeted at x86. I want something broader; I was
always interested in console emulators (8-16 bit). I've found some
tech docs and I've got the source code for some emulators so i want
to see how they work, but the technical docs describing the system
talk about registers, ports, pages, memory, addressing modes as if
they're well-understood terms. And of course we're not talking about
x86 there.
So I was basically looking for an intro to that stuff that will make
it easier to move from CPU to CPU.
| |
| Seeker 2006-06-29, 6:56 pm |
| "Robert Gamble" <rgamble99@gmail.com> wrote in
news:1151615853.980922.105970@x69g2000cwx.googlegroups.com:
> www.google.com
>
What is this? Is it a "search engine" or something? I keep hearing
about them. They must be catching on. I'm too reluctant to use one
yet though.
| |
| Robert Gamble 2006-06-29, 6:56 pm |
| S er wrote:
> "Robert Gamble" <rgamble99@gmail.com> wrote in
> news:1151615853.980922.105970@x69g2000cwx.googlegroups.com:
>
>
> What is this? Is it a "search engine" or something? I keep hearing
> about them. They must be catching on. I'm too reluctant to use one
> yet though.
Apparently.
Robert Gamble
| |
| Ian Collins 2006-06-29, 6:56 pm |
| S er wrote:
>
> So I was basically looking for an intro to that stuff that will make
> it easier to move from CPU to CPU.
google for 8051 programmers manual, it will give you a good introduction
to a venerable and still popular 8 bit micro.
--
Ian Collins.
| |
|
| S er wrote:
>
> "Robert Gamble" <rgamble99@gmail.com> wrote in
> news:1151615853.980922.105970@x69g2000cwx.googlegroups.com:
>
>
> What is this? Is it a "search engine" or something? I keep hearing
> about them. They must be catching on. I'm too reluctant to use one
> yet though.
You may only act like it's your first day on the internet,
for one day.
After that, you turn into a troll.
--
pete
| |
| Seeker 2006-06-29, 6:56 pm |
| pete <pfiland@mindspring.com> wrote in news:44A45BA2.5DA1
@mindspring.com:
> You may only act like it's your first day on the internet,
> for one day.
> After that, you turn into a troll.
>
It was a joke.
| |
| Flash Gordon 2006-06-29, 6:56 pm |
| S er wrote:
> Richard Heathfield <invalid@invalid.invalid> wrote in
> news:85ednd4Aopdk3znZRVnyhQ@bt.com:
>
>
> That's what the OT was in the topic for :-)
Since you know it is OT, why not ask somewhere it is topical instead?
>
> It is definitely an interesting read, I've not read it all yet. But
> it's specifically targeted at x86. I want something broader; I was
<snip>
> So I was basically looking for an intro to that stuff that will make
> it easier to move from CPU to CPU.
Then completely forget about *all* of that stuff and just write standard
C. Or standard Java. Or standard any language that is available across a
wide enough range of systems.
--
Flash Gordon, living in interesting times.
Web site - http://home.flash-gordon.me.uk/
comp.lang.c posting guidelines and intro:
http://clc-wiki.net/wiki/Intro_to_clc
| |
| Seeker 2006-06-30, 3:56 am |
| Flash Gordon <spam@flash-gordon.me.uk> wrote in
news:rj3en3xuqq.ln2@news.flash-gordon.me.uk:
> Then completely forget about *all* of that stuff and just write
> standard C. Or standard Java. Or standard any language that is
> available across a wide enough range of systems.
>
Well, the systems I'm interested in didn't have C or Java. They were
programmed in assembly only.
I asked here because it's a group frequented by programmers who
mostly know lots about low-level programming. If you don't like OT
posts you're free to ignore them.
| |
| Mark F. Haigh 2006-06-30, 3:56 am |
| S er wrote:
> When I read about registers, pages in memory, offsets, all that, my
> head swings because I don't understand a word. Is there some nice
> tutorial that can teach that stuff?
Yes. It's called "college". A tutorial is just about all it is these
days.
Mark F. Haigh
mfhaigh@sbcglobal.net
| |
| Chris Dollin 2006-06-30, 7:56 am |
| S er wrote:
> I asked here because it's a group frequented by programmers who
> mostly know lots about low-level programming. If you don't like OT
> posts you're free to ignore them.
We're also free to complain that they're off-topic. We don't /want/
to have to ignore off-topic posts; we'd prefer that they weren't
made or, if made in error, that the poster accepts redirection.
At some point the effort of ignoring OT posts - no, it /isn't/
free - outweighs the value of the group. We'd prefer that didn't
happen.
Acknowledging that you did wrong doesn't make it right.
--
Chris "two wrongs don't make a rite" Dollin
"No-one here is exactly what he appears." G'kar, /Babylon 5/
| |
| Joe Wright 2006-06-30, 6:56 pm |
| S er wrote:
> pete <pfiland@mindspring.com> wrote in news:44A45BA2.5DA1
> @mindspring.com:
>
>
> It was a joke.
No, it was a bomb. Jokes are funny.
--
Joe Wright
"Everything should be made as simple as possible, but not simpler."
--- Albert Einstein ---
|
|
|
|
|