answersLogoWhite

0

Machine language is all binary numbers, and will vary on different architectures. For example, on a 32 bit processor, instructions will come in the form of a sequence of 32 "1"s or "0"s, where maybe the first 5 tell the CPU which instruction is being performed (add, subtract, load memory into register, load register into memory, etc), if you are adding maybe the next 5 bits means register $eax, the next 5 bits could be register $ebx.

The actual instruction will look something like: 01101001011010001100110011001100

User Avatar

Wiki User

16y ago

What else can I help you with?

Continue Learning about Engineering

What would a wait for input command in Assembly look like?

It would look like a line of assembly code!


Why is assembly language efficient?

Assembly uses commands you can begin to understand, like JSR (Jump to subroutine which changes points in a code) machine code on the other hand is the code that the machine reads. This would only look like numbers to you, probably in hex code. Basically the higher level a language is the easier to understand because of the level of abstraction. It goes, machine code, assembly language, then things like C then java or visual basic. In VB you can write commands almost the same as you would construct an English sentence, the compiler then converts this down to machine code which the processor can understand and execute. Got it?


Examples of 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.


What Is The Java Enum And What Is It Used For?

The best way I can describe an enum is a class of Java language. Enums look like they are used in code string when writing a website.


What are examples of machine level language?

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

Related Questions

What would a wait for input command in Assembly look like?

It would look like a line of assembly code!


What is difference between machine code and assembly language?

Machine language is the actual instructions in computer memory that are fetched into the processor and executed. It is directly executable and consists of what look to most human beings like a bunch of hexadecimal numbers, though a few geeks such as myself can tell it is code instead of numbers. For example, the instructions executing interrupt 21, service 10, are: B410 CD21 Assembly language is a human readable as mnemonics, it translates on a one for one basis into machine language. The computer cannot execute assembly language directly, but human beings who are trained can understand it. The assembly language equivalent of the above instructions is: MOV AH,10 ; prepare for service 10 by putting 10 into AH INT 21 ; vectors into code established in the interrupt table


Why is assembly language efficient?

Assembly uses commands you can begin to understand, like JSR (Jump to subroutine which changes points in a code) machine code on the other hand is the code that the machine reads. This would only look like numbers to you, probably in hex code. Basically the higher level a language is the easier to understand because of the level of abstraction. It goes, machine code, assembly language, then things like C then java or visual basic. In VB you can write commands almost the same as you would construct an English sentence, the compiler then converts this down to machine code which the processor can understand and execute. Got it?


Compare the assembly language with machine language?

Assembly language is 1 step above machine language. In assembly language you can use mnemonics to represent what you want to do. For example, to compare two numbers together I could represent the sequence as:L R1, Value1 load the first valueC R1, Value2 compare against the second valueJG First first value greater than secondAs you can see, there is some symbology here that allows me to determine what the program logic is doing. Note that the above code is not understandable to a computer circuit; it has to be translated to machine code. And that is what assembly code is; a symbolic human representation of what the machine is supposed to do.Machine code on the other hand, is usually the targeted result of translating assembly code to the machine equivalent. The machine circuit only understands a sequence of zeros and ones, and is not immediately understandable to a human. The result of the program sequence above in machine code might look something like:111001101101100000111100011000101010Which makes sense to a machine, but not a human.


What does the assembly look like?

Need more info. assembly to what?


What did the code look like and how did it work?

what did the code look like and how did it work??


What does machine language code look like?

Machine language is the computer instructions in memory--the actual bits used by the machine hardware or microcode interpreter. To "look" at it, it has to be converted to a human-readable form. Often, it is printed as a sequence of hexadecimal numbers, usually tagged with the memory address. Sometimes it is processed by a disassembler program, which tries to translate the code into assembly language instructions and data. This is not always successful since in machine architectures that mix data and instructions, it can be difficult to determine which program areas are data and which are instructions.


How do you translate C plus plus expression to assembly language?

The easiest way is to place a breakpoint in your program, then examine the assembly instructions at that breakpoint. Consult your IDE on how to look at the assembly source.


Examples of 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.


What Is The Java Enum And What Is It Used For?

The best way I can describe an enum is a class of Java language. Enums look like they are used in code string when writing a website.


What does the SEICENTO washer bottle assembly look like?

looks like any other car


How do you write a code to complement the corresponding bit in bx if AX contains 6complement the 6th bit of BX in assembly?

To complement the 6th bit of the BX register in assembly language, you can use the XOR instruction. The 6th bit corresponds to the bit mask 0x20 (binary 0010 0000). The code would look like this: MOV AX, 6 ; Load AX with 6 (not directly relevant to complementing BX) XOR BX, 0x20 ; Complement the 6th bit of BX This will toggle the 6th bit of BX, effectively complementing it.