What compiler made vb?
What compiler made that compiler?
What compiler made that compiler?
Then eventually the question is, what compiler made asm?
Then probably what compiler made binary?
Printable View
What compiler made vb?
What compiler made that compiler?
What compiler made that compiler?
Then eventually the question is, what compiler made asm?
Then probably what compiler made binary?
Asembler is not compiled or decompiled. It is a set of instruction directly 'understandable' by the CPU. That's why it is called machine language.
assembler is a translator, let say u give it a file with assembly language code
eg.
then the assembler would translate them (those ASCII text) into computer understood machine language. (usually they displayed them in HEX)Code:Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>debug
-a100
0B24:0100 mov ax,5
0B24:0103 add ax,6
0B24:0106
-r
AX=0000 BX=0000 CX=0000 DX=0000 SP=FFEE BP=0000 SI=0000 DI=0000
DS=0B24 ES=0B24 SS=0B24 CS=0B24 IP=0100 NV UP EI PL NZ NA PO NC
0B24:0100 B80500 MOV AX,0005
-t
AX=0005 BX=0000 CX=0000 DX=0000 SP=FFEE BP=0000 SI=0000 DI=0000
DS=0B24 ES=0B24 SS=0B24 CS=0B24 IP=0103 NV UP EI PL NZ NA PO NC
0B24:0103 050600 ADD AX,0006
-t
AX=000B BX=0000 CX=0000 DX=0000 SP=FFEE BP=0000 SI=0000 DI=0000
DS=0B24 ES=0B24 SS=0B24 CS=0B24 IP=0106 NV UP EI PL NZ NA PO NC
0B24:0106 FFBFB801 ??? [BX+01B8] DS:01B8=A206
-
eventually, there is a person (first person) who code in HEX !, yup, that person code in HEX! and he made the first assembler (translator). eg. 05 is equal to add (ax) so after that (first person) built that assembler, then the following person use his assembler to build another assembler. (no depencency on the first assembler because he then build an assembler that able to assembly itself!) so, the ball keeps rolling and now, we have some famous assembler in the market, MASM, TASM, FASM and more.
one thing i am sure is, they DID use assembler to build those compiler :) C++ C and ...
What made the Earth?Quote:
Originally Posted by Jacob123
What made that something that made the Earth?
What made the Universe?
Here's something that will really screw with your head. It is possible for some compilers to compile themselves from their own source code. :bigyello:Quote:
Originally Posted by asmdev
If thats the case, how would they be executed to compile themselves? The compile themselves from the source code without anything translating?
Phreak
I meant that some pre-compiled compilers can compile themselves from source. Ie, if compiler A is a C compiler written in C, and you compile it with C compiler B, then you should be able to compile compiler A with compiler A's executable from compiler A's source.
Wow, who would have thought you could use the word "compile" so many times in the same sentence?
Well, yes... Not the first time of course because at that time it's not a compiler it's just source files. But if you've compiled the source to a new compiler you can use that to compile the source that made it. If it's written in the same language that it's supposed to compile.Quote:
Originally Posted by Comintern
In short: You can write a C++ compiler in C++. Actually Delphi 2.0 was written in Delphi 1.0.
If Delphi 2.0 was written in Delphi 1.0, whats the point of the upgrade? Couldn't you just use Delphi 1.0 for everything you needed? Seems strange... :rolleyes:Quote:
Originally Posted by Joacim Andersson
Phreak
Well, what can you do in VB6 that you can't do in VB5?Quote:
Originally Posted by «°°phReAk°°»
WebClasses :pQuote:
Originally Posted by Joacim Andersson
Phreak
Yes, WebClasses was a (pointless) addition in VB6, and WebClasses are also a new RAD tool. But they don't add anything I couldn't have made in VB5.Quote:
Originally Posted by «°°phReAk°°»
Delphi 2 was not written in Delphi 1.Quote:
Originally Posted by «°°phReAk°°»
A delphi 2 _compiler_ was written in Delphi 1.
Big difference.
The reason to develope Delphi 1 into delphi 2 would be to offer more or better features.
And it gives customers a reason to pay you again.
I see from the lack of many serious answers to the original post that this thread is headed for chit-chat :)
what does mean...?? DIRECTLY...Quote:
Originally Posted by baja_yu
The job of the CPU is too look at an instruction (a machine code instruction) in memory and execute that instruction. That instruction optionally has other bits in memory that are part of it - addresses of data, string, long - all specific to the instruction.Quote:
Originally Posted by vbPoet
The instruction will perform some operation - maybe output a value to memory. Or maybe it simply move the PC (program counter) to a new instruction. Sometimes the JUMP to a new location is based on a comparison.
All of these machine code instructions are known to the CPU chip - developed by the people at INTEL and AMD and where ever else.
The job of a compiler is to assemble the syntax of the higher level languages into machine code that the CPU can process.
What language the compiler is written in is meaningless - it's job is to take:
IF X = 1 THEN GOTO LABEL
and turn it into the machine code of a JUMP if a memory location called X has a value of 1 to some spot in memory that LABEL refers to.
So having Delphi 2.0 written in Delphi 1.0 means nothing about the new syntax capability in Delphi 2.0.
oK
it means there is nothing to deal with Programming languages..
every thing is about how Complier is structured or constructed..
I'm not sure I really understand what you mean by this - sorry, if you could be more clear it would be helpful...Quote:
Originally Posted by vbPoet
I'm right if I say a cpu (or any electrical/electronical device) can only understand one of two states...on and off.... 1 and 0
If that is so, it mean whatever runs first after the cpu must have been written in 1's and 0's?
Sound like stupid, I know...Maybe I just got it wrong
I mean....Say you got one of this stuff that switch on a ligth by clapping your hands. The device is kinda clever, cuz it figures out what sound should be used and what ignored...but at the bottom line, the light switch itself just go on and off..... right?
This is not really correct. A transistor can only have one of two states. A CPU contains many millions of tranistors.Quote:
Originally Posted by StrangerInBeijing
Yeah, unless you have a dimmer :)Quote:
Originally Posted by StrangerInBeijing
Ha ha ... I knew some smarty pants would come back with that one! Bliksem :p
does those means ALL ? :DQuote:
they DID use assembler to build those compiler C++ C and ...
Actually Bjarne Stroustrup the creator of C++ never made a C++ compiler. He wrote a program called CFront (and did it in C) that simply translated the C++ source code into C and then used the old C compiler to compile the source.Quote:
Originally Posted by asmdev
I know for a fact that any new development MS does on VC++ is done using VC++.
well, maybe some one here wanna learn more on c or cpp
this link list some of the free downloadble compilers from internet
http://www.compilers.net/Dir/Free/Compilers/index.htm
of course, if you google or yahoo. you would find more :P
http://directory.google.com/Top/Comp...ing/Languages/