Machine language is nothing but numeric codes. Because humans have a difficult time remembering numeric codes, manufacturers of microprocessors create mnemonics; these sets of mnemonics are called assembly language. Each processor family has its own set of mnemonics, or assembly language, so assembly for the Intel processor used in many PCs is different from the assembly for a Motorola processor. In fact the assembly for different processors made by the same manufacturer will have assembly that differs, sometimes by a little, sometimes significantly. A quick example of one type of Motorola assembly, to clear 10 32-bit memory locations might look like this:
movea #$6000,ao
move.l #10,d7
10$
clr.l (a0+)
subq.l #1,d7
bne.s 10$
rts
Machine code is an encoded sequence that is specific to a particular type of machine. In computing, machine code is encoded using binary notation. Every computer platform has its own set of instructions and architecture, and machine code must be specifically engineered separately for each platform. Code written specifically for an IBM mainframe will not operate upon an Apple Mac, for instance.
It are machine code and Assembly.
Machine code is the native language of the machine. The machine does not "understand" any language other than its own native language. As such, all other languages, including low level assembly languages, must be compiled or interpreted in order to produce the required machine code.
No. Generally, one instruction in a high level language corresponds to many instructions in machine language.
Machine code is the ONLY example of machine language. However, every machine architecture has its own version of machine code; it is the native language of the machine. If you want to examine machine code upon your own machine, use a hex editor. This will show you every byte of the code in hexadecimal form.
It converts machine level language to high level language simultaneously...and vice versa..
Machine code & Assembly language.
It are machine code and Assembly.
high level language is converted to machine level language using a compiler or an interpreter
The difference between high level languages and machine languages are as follows: 1)Machine language uses binary numbers/codes but high level languages(HLL) use key words similar to English and are easier to write. 2)Machine Language is a Low level language and is machine dependant while HLLs are not.
A language at the level of the machine it runs on. AKA Machine code, it's the underlying language that computer CPU's speak.
The term high-level refers to the amount of abstraction between the code you write and the native language of the machine. Low-level code is a symbolic code that maps 1:1 with the machine code, thus assembly is a low-level language. All other languages that employ a compiler or interpreter to create the machine code are considered high level languages. However, C and C++ are examples of high-level languages that also allow low-level programming, and are often called mid-level languages for that reason.
we need compiler to convert high level language in to machine language
Machine code is the native language of the machine. The machine does not "understand" any language other than its own native language. As such, all other languages, including low level assembly languages, must be compiled or interpreted in order to produce the required machine code.
A language at the level of the machine it runs on. AKA Machine code, it's the underlying language that computer CPU's speak.
machine level language
No. Generally, one instruction in a high level language corresponds to many instructions in machine language.
Machine code is the ONLY example of machine language. However, every machine architecture has its own version of machine code; it is the native language of the machine. If you want to examine machine code upon your own machine, use a hex editor. This will show you every byte of the code in hexadecimal form.