Page 2 of 2
Re: C++, C# , VB made in ?
Posted: Fri Sep 03, 2010 11:27 am
by mandai
how did they make the assembly language then?
Machine Assembly is interpreted by the CPU after being read from memory. Check out the x86 specification.
The idea is to use large blocks of low-level assembly code to create small blocks of upper-level program code.
Re: C++, C# , VB made in ?
Posted: Fri Sep 03, 2010 11:28 am
by MrAksel
I know its 1 and 0 its running on but how does windows read that? So it can run PE and PE can run .NET AND .NAT can run high level language applications?
Re: C++, C# , VB made in ?
Posted: Fri Sep 03, 2010 11:43 am
by mandai
Windows uses the the CreateProcess function as the first step in loading an executable.
Re: C++, C# , VB made in ?
Posted: Fri Sep 03, 2010 12:21 pm
by Insignia
I've learned up on some ASM when I was away here.
It really isn't that hard if you look into it properly.
Hello World in Assembly would be a long the lines of;
Code: Select all
.model small
.stack
.data
message db "Hello World, In Assembly!", "$"
.code
main proc
mov ax,seg message
mov ds,ax
mov ah,09
lea dx,message
int 21h
mov ax,4c00h
int 21h
main endp
end main
Re: C++, C# , VB made in ?
Posted: Fri Sep 03, 2010 8:06 pm
by Axel
MrAksel wrote:I know its 1 and 0 its running on but how does windows read that? So it can run PE and PE can run .NET AND .NAT can run high level language applications?
if you learn it @ school(or wikipedia) , they will give you a whole other way of thinking about 0's and 1's its actually kinda simple
but search YouTube for gigafide he made a tutorial about how to make a Bootable OS in assembly !
anyways it was not my question u are all answering like , where is C# made in bla bla but
its almost impossible to make that in assembly? lol windows vista was like 16 000 000 lines of code i think.
my question was, how did they make a language like c++

Re: C++, C# , VB made in ?
Posted: Sat Sep 04, 2010 5:55 pm
by mandai
Code: Select allhow did they make a language like c++
Code: Select allThe idea is to use large blocks of low-level assembly code to create small blocks of upper-level program code.
The answer is right there.