HISTORY OF PROGRAMMING LANGUAGES
History of Programming LANGUAGES
Earlier the computer programs were written in the actual language of the computer.
The first known programming languages were complicated machine codes that were manually inputted into early computing machines. As you'll discover, computer programming developed quickly from machine codes to fully automated human-readable code.
Nowadays the programmer writes his/her program in a programming language that is relatively easy to learn and error-free.
*These languages can be considered as,
01. Machine Language
02. Assembly Language
03. High-level Language
Machine Language
Machine language or machine code is a low-level language comprised of binary digits(1 and 0) binary digits corresponding to the "on" and "off" eletricle states in the computer. high-level languages such as C++ and Swift must be compiled into machine language before the code is run on a computer.
Machine code is not really readable by humans and humans can only do trivial things which it but all software is eventually turned into the machine before it's sent to the CPU.
While machine code is technically comprised of binary data, it may also be represented in hexadecimal values. for example, the letter "Z" which is 01011010 in binary, may be displayed as 5A in hexadecimal code.
Assembly Language
An Assembly language is a type of Low-level programming language that is intended to communicate directly with a computer's Hardware. Assembly languages are designed to be readable by humans, and they translate high-level languages into machine language.
Rather than using simply 1s and 0s, Assembly language uses abbreviations or mnemonic codes to replace the numbers: A for "Add", CMP for "Compare", MUL for "Multiply", PUSH for "Push data onto the stack", POP for"pop data from a stack", and so on
Today Assembly languages are rarely written directly, although they are still used in some niche applications such as when performance requirements are particularly high.
*Following is represent a Hello, World! 32-bit Assembly for Windows, You can code this in a new text file and save it as a (.asm ) extension.




No comments