|
-
May 19th, 2005, 10:27 AM
#1
Thread Starter
New Member
Re: Question!!
ok.. lol What I mean by the need for language translation is why do we need them as in language processors such as compilers interpreters and assemblers ?
-
May 19th, 2005, 10:29 AM
#2
Re: Question!!
Oh, I think I know what you mean.
Something has to translate programming code into a language that the machine understands, like...machine language...binary...ones and zeros.
-
May 19th, 2005, 02:03 PM
#3
Frenzied Member
Re: Question!!
Indeed.
A processor only understands numbers (machinecode), it can't read text like we can.
The operations that the processor can execute are also very, very basic. (not to be confused with BASIC )
For us humans a long list of numbers is hard to read and it is hard to see the higher functions in all those basic instructions.
Assembly is a bit higher than machinecode.
Numbers are substituted with short words but you are still giving very lowlevel instructions.
You need an assembler to translate assembly code into machinecode.
High level languages (C, BASIC)make code even more readable and does a lot of lowlevel stuff for the programmer.
You need a compiler to translate high level code into machinecode.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|