ABSTRACT

Instruction sets of a computer are associated with the organization of the central processing unit (CPU) of the computer. We discuss the instruction sets of a computer by relating them to high-level languages. Consider a C++ statement for adding two variables,

x

=

x

+

y

. As you know from programming, the statement can be executed using the same processor or using different processors, assuming an appropriate compiler exists. The compiler is an example of a translator that translates high-level languages (such as C++) to a machine-dependent language. The language the compiler generates is a subset of instructions found in a computer’s instruction set.