So instead of having to remember a string of 0's and 1's, the programmer would only need to remember short codes like ADD, MOV, or JLE. In an assembly language each machine language instruction is assigned a code. = Codes or abbreviations for the machine language instructions The segment of Java code: int counter = 0 Here's another example of machine language. In the program segment at left the first column tells the computer where to fill memory and the hexadecimal (base 16) numbers in the second column are the values to put into memory at those locations.įor more information on hexadecimal numbers, see Base Arithmetic. Machine language looks like it's just numbers. So it is made up of sets of 0's and 1's, that is binary numbers. This is the set of instructions that the chip uses itself. Types of computer languages and see what they are used for.Įach design for a CPU has its own machine language. Let's check out some examples of the various They each have advantages for certain kinds of tasks. Many computer languages are available for writing computer programs. Jan's Computer Basics: Programming: Languages
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |