电气自动化专业毕业设计英文翻译模板

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

电气自动化专业毕业设计英文翻译

Computer control technology

1 Computer structure and function

This section introduces the internal architecture of a computer and describes how instructions are stored and interpreted and explains how the instruction execution cycle is broken down into its various components.

At the most basic level, a computer simply executes binary-coded results. For a general-purpose programmable computer, four necessary elements are the memory, central processing unit (CPU, or simply processor), an external processor bus, and an input/output system as indicated in Fig.3-1 A-1.

Fig. 3-1A-1 Basic elements of a computer

The memory stores instructions and data.

The CPU reads and interprets the instructions, reads the data required by each instruction, executes the action required by the instruction, and stores the results back in memory. One of the actions that is required of the CPU is to read data from or write data to an external device. This is carried out using the input/output system.

The external processor bus is a set of electric conductors that carries

data, address and control information between the other computer elements.

1-1 The memory

The memory of a computer consists of a set of sequentially numbered locations. Each location is a register in which binary information can be stored. The ”number”of a location is called its address. The lowest address is 0. The manufacturer defines a word length for the processor that is an integral number of locations long. In each word the bits can represent either data or instructions. For the Intel 8086/87 and Motorola MC6800 microprocessors, a word is 16 bits long, but each memory location has only 8 bits and thus two 8-bit locations must be accessed to obtain each data word.

In order to use the contents of memory, the processor must fetch the contents of the right location. To carry out a fetch, the processor places (enables) the binary-coded address of the desired location onto the address lines of the external processor bus. The memory then allows the contents of the addressed memory location to be read by the processor. The process of fetching the contents of a memory location does not alter the contents of that location.

Instructions in memory Instructions stored in memory are fetched by the CPU and unless program branches occur, they are executed in

the sequence they appear in memory. An instruction written as a binary pattern is called a machine-language instruction. One way to achieve meaningful patterns is to divide up the bits into fields as indicated in Fig. 3-1A-2, with each field containing a code for a different type of information.

0001 0101 1000 XXXX 0100 0001 1000 XXXX 0011 XXXX XXXX 0100 Fields Opcode Immediate code Operand data Branch address

Set ‘5’ in location 8 Subtract ‘1’ f rom location 8 If zero, bran ch to location 4

16-bit instruction words

... ... XXXX : not u sed (or “don ’t care”)

Fig. 3-1A-2 Arrangement of program and data in memory

Each instruction in our simple computer can be divided up into four fields of 4 bits each. Each instruction can contain operation code (or opcode, each instruction has a unique opcode), operand address, immediate operands, branch address.

In a real instruction set there are many more instructions. There is also a much large number of memory locations in which to store instructions and data. In order to increase the number of memory locations, the address fields and hence the instructions must be longer than 16 bits if we use the same approach. There are a number of ways

相关文档
最新文档