answersLogoWhite

0

GHOST IN THE MACHINE CODES

Iloveryan

ryanlovesme

sarahplusryan

oldjoebushisevil

brokendowndredge

figurethingsout

thanks for searching and coming up with MY username!!! read the books!!!!

User Avatar

Wiki User

15y ago

What else can I help you with?

Continue Learning about Engineering

How and why are variable names used in programming to process data?

Variable names are used so the code is readable. When the code is compiled to machine languages, it no longer uses the variable names to understand it's operations...sometimes variable names are kept as metadata to help debug but the computer does not need them to execute the program...they are for us so we can easily understand what we are doing.


What is this native code and what is difference between native code and machine code?

They are the same thing. Every machine type has its own version of machine code, the native language of the machine (native machine code). All high-level code must be converted to native machine code before it can execute. Machine code is machine dependent but high-level code is generally machine-independent, thus the same source code can generally be converted to suit any type of machine using a suitable compiler or interpreter.


Is assembly language to machine language one to one?

Not quite but very close. If you disassemble a machine code program you do not get the original assembly. Aside from stripping out all comments and variable names, the "structure" of the original assembly is lost. However, if you compare the code side-by-side you will be able to see how similar they actually are and how easy it would be to reverse engineer the code to reproduce a facsimile of the original source code.


What is compiled code?

Compiled code is plain-text source code that is translated from an English-like, high-level language into either machine code or byte code by a program known as a compiler. Machine code is the native language of the machine, consisting of binary patterns that represent a sequence of machine instructions and their operands. Byte code is the native language of a virtual machine; a machine that only exists within a computer's memory. The virtual machine is simply a program that interprets the byte code in order to produce the actual machine code. Unlike machine code which must be compiled separately for each platform, byte code will run on any platform that has a corresponding virtual machine implementation.


What is the difference between machine dependent and code optimization?

Machine dependent code is in contrast to machine-independent, or portable, code. Optimized code is in contrast to non-optimized code. The two terms do not contrast each other; machine dependent code can be optimized or not optimized, and so can machine independent code. Machine-dependent code relies on specific characteristics of the device it was written for. For example, it might depend on an integer variable to be 16 bits in size, or on a specific memory address to gain access to special hardware features (such as, for example, a ratl-time clock or serial port). Machine-dependent code is common in embedded software, which is generally written to suit small and specialized computer systems. It can be difficult to transport this code to a different machine due to these machine dependencies. Machine independent or "portable" code contains fewer and, ideally, no such dependency. In theory, such code can be freely moved from one machine to another, provided all share support for the same programming language such as, for example, ANSI-C. In reality however, no code is truly independent. Portable code may not depend on the size of an integer variable or the memory location of a serial port chip, but will instead depend on other factors. For example, it will depend on an ANSI compliant implementation of the C programming language, and an operating system with a standard POSIX API. Code optimization, by contrast, does not necessarily introduce machine dependency. Many forms of machine dependence introduced by optimization are introduced by automated optimization steps. For example, the C compiler for machine A may be able to optimize code for this particular machine for fastest excution or smallest size (or a compromise of both). Since this hardware-dependent optimization occurs at a lower level than the C programming, it is not a concern for portability. Other optimization steps can introduce machine dependency into the source code. For example, accessing a time-critical I/O device through operating system device drivers may lead to unacceptable latencies in some application. One might then decide to accept the disadvantage of machine dependencies on this occasion in order to meet the required timing constrains. It is generally advisable to introduce such dependencies with great care and only after careful consideration, and to the smallest amount possible.

Related Questions

How and why are variable names used in programming to process data?

Variable names are used so the code is readable. When the code is compiled to machine languages, it no longer uses the variable names to understand it's operations...sometimes variable names are kept as metadata to help debug but the computer does not need them to execute the program...they are for us so we can easily understand what we are doing.


Is the machine language machine dependent?

Machine code is machine-dependant because every machine architecture has its own version of machine code. The code is non-portable because only the machine for which the code was intended will be able to understand it.


What is this native code and what is difference between native code and machine code?

They are the same thing. Every machine type has its own version of machine code, the native language of the machine (native machine code). All high-level code must be converted to native machine code before it can execute. Machine code is machine dependent but high-level code is generally machine-independent, thus the same source code can generally be converted to suit any type of machine using a suitable compiler or interpreter.


What is machine code?

teleport machine code is 2268545551025


What is the independent variable in a pulley?

The independent variable is the simple machine used and the thing your sliding it on.


Who invented ww2 code breaking machine-enigma?

enigma was the German code making machine not code breaking ultra was the code breaking machine


What is the code required to convert an integer variable to a string variable in Java?

There are several different methods to convert an integer variable to a string variable in Java. For example, one can use the following code to convert an integer variable to a string variable: Integer.toString(number)


What is BYTE Code in java?

Java byte code is the code that is output by the Java compiler. Byte code is not machine code, it must be interpreted to create the machine code. This is handled by the Java virtual machine. Pretty much every platform produced today has a Java virtual machine implementation, so the same byte code can be executed upon any machine. Byte code can be regarded as being the native language of the virtual machine, as opposed to machine code which is the native language of the physical machine.


What is byte code and native code?

native code is machine code each machine has its won set of istruction one machine's native code won't run on another While bytecode is what java produces and it can run on any machine. when we run bytecode it first get to compile to machine code and then get to run.


Is assembly language to machine language one to one?

Not quite but very close. If you disassemble a machine code program you do not get the original assembly. Aside from stripping out all comments and variable names, the "structure" of the original assembly is lost. However, if you compare the code side-by-side you will be able to see how similar they actually are and how easy it would be to reverse engineer the code to reproduce a facsimile of the original source code.


What is compiled code?

Compiled code is plain-text source code that is translated from an English-like, high-level language into either machine code or byte code by a program known as a compiler. Machine code is the native language of the machine, consisting of binary patterns that represent a sequence of machine instructions and their operands. Byte code is the native language of a virtual machine; a machine that only exists within a computer's memory. The virtual machine is simply a program that interprets the byte code in order to produce the actual machine code. Unlike machine code which must be compiled separately for each platform, byte code will run on any platform that has a corresponding virtual machine implementation.


Bytecode is machine dependent or independent?

Because machine code only understsnd by computer in form of 0,1 and byte code not machine code and store in .class of java library it is at the 2nd stage of conversion and the machine code at the final stage and end stage so byte code under stand by any machine by the java library not convert into machine code i.e understand by machine kuldeep singh ssimt