![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijLT7s3gbouLr9DxfWdTrbKutEmHMDd_qSi314p8xJxDroI-B037JcrlZbG8Qo35VChQ-lF8zdzEZU9j6uyO15lomLr9dxA4oxD6q-NrSAHuvItml4-tkazlZCnjTL7ZNLJsWWUwOdqAU/s640/Cool+Text+-+Turing+machine-like+structures+in+a+V+Neumann+architecture+242838250138768.png)
Another example is inside the CPU, precisely the control unit and ALU. Typically, the ALU has direct input and output access to the processor controller, main memory (random access memory or RAM in a personal computer), and input/output devices. Inputs and outputs flow along an electronic path that is called a bus. The input consists of an instruction word (sometimes called a machine instruction word) that contains an operation code (sometimes called an "op code"), one or more operands, and sometimes a format code. The operation code tells the ALU what operation to perform and the operands are used in the operation. (For example, two operands might be added together or compared logically.) The format may be combined with the op code and tells, for example, whether this is a fixed-point or a floating-point instruction. The output consists of a result that is placed in a storage register and settings that indicate whether the operation was performed successfully. (If it isn't, some sort of status will be stored in a permanent place that is sometimes called the machine status word.)
No comments:
Post a Comment