Assembly Code is hardest(i think) programming language in whole world! its low-level programming language because when you compile and run your assembly application you are directly contacting with Microprocessor and you are closest to hardware. Assembly code isn't like other high-level languages, for example you can't make a program for Graphis card or you can't assembly nothing with C++. Many operating systems are maked in Assembly Code (Linux, DOS...). Every compiled Assembly application is coded directly in binary code.

We are moving a value of 9 in AH, but whats AH? every processor have 4 general registers where he stores data(ax,bx,cx,dx), AH means A HIGH, why HIGH? because we want to set register A to run first, or if we type AL(wich means A LOW) the A register will run after all HIGH set registers are executed. There is alot of register 16-bytes register, 32-byt and 64-byt. These ones are 16-byt. And by the way why we are moving 9 bytes in AH? because when we move 9 thats means that we are going to print some text.

This one means that we are creating and moving variable "msg" to dx register. If you want to print some text in assembly applications you are need to create variable and give it a value(insert a text in variable).

Assembly Code is hardest(i think) programming language in whole world! its low-level programming language because when you compile and run your assembly application you are directly contacting with Microprocessor and you are closest to hardware. Assembly code isn't like other high-level languages, for example you can't make a program for Graphis card or you can't assembly nothing with C++. Many operating systems are maked in Assembly Code (Linux, DOS...). Every compiled Assembly application is coded directly in binary code.

We are moving a value of 9 in AH, but whats AH? every processor have 4 general registers where he stores data(ax,bx,cx,dx), AH means A HIGH, why HIGH? because we want to set register A to run first, or if we type AL(wich means A LOW) the A register will run after all HIGH set registers are executed. There is alot of register 16-bytes register, 32-byt and 64-byt. These ones are 16-byt. And by the way why we are moving 9 bytes in AH? because when we move 9 thats means that we are going to print some text.

This one means that we are creating and moving variable "msg" to dx register. If you want to print some text in assembly applications you are need to create variable and give it a value(insert a text in variable).

It's actually the easiest language (in my opinion), just has a different syntax. I say it's the easiest because there are no pre-built functions to remember, no awkward syntax per function, it's easy.

for example you can't make a program for Graphis card or you can't assembly nothing with C++

You can actually do both. To make a program for the Graphics card, you have to directly program into it. I mean, how else do you think other programs, that are assembled into assembly language are made? I don't really understand what you mean by 'you can't assembly nothing with C++' , but I'm assuming you mean 'you can't use assembly with C++' , which is also false. In-line ASM is quite common when building things like; graphics drivers (though this are occasionally in pure ASM), game engines, graphics libraries (once again, also can be in pure ASM), and the likes.

Many operating systems are maked in Assembly Code (Linux, DOS...).

Those were both made with C, and some ASM (not too sure about DOS, but I believe so). OS's these days are primarily coded in C, and only use ASM when they absolutely need it.

Another thing; throughout the entire thing, you're saying that you're communicating with a microprocessor, when you're actually communicating with the CPU of your computer. Also, work on your English more before you post more long posts like that trying to explain things. Lastly, ASM _isn't_ an interpreted language, or a compiled language. It's an assembly language. Other than that, good job, and keep going!

~Cent

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -Rick Cook

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -Rick Cook

i know im not good with assembly, but i just wanted to show people how to write basic Hello World program... and about C++.... you can't programme hardware with C++... he is high-level language and its not close to hardware... C++ is just for applications

-Th3V01d- wrote:i know im not good with assembly, but i just wanted to show people how to write basic Hello World program... and about C++.... you can't programme hardware with C++... he is high-level language and its not close to hardware... C++ is just for applications

-Th3V01d- wrote:i know im not good with assembly, but i just wanted to show people how to write basic Hello World program... and about C++.... you can't programme hardware with C++... he is high-level language and its not close to hardware... C++ is just for applications

You can write operating systems in C++...

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -Rick Cook