Elements of CPU-S 2.0 / 5 based on 2 ratings ? ComputingUniversityAll boards Created by: Tom FletcherCreated on: 19-05-13 12:55 DR1 Contains the first operand for addition, subtraction or multiplication. Can be checked whether its value equals 0. 1 of 14 DR2 Contains the second operand for addition, subtaction or multiplication. 2 of 14 ACC A register that contains the result of addition, subtraction or multiplication. 3 of 14 + Calculates the sum of the values in DR1 and DR2. 4 of 14 - Subtracts the value in DR2 from the value in DR1. 5 of 14 x Multiplies the value in DR1 by the value in DR2. 6 of 14 =0 Tests whether the value in DR1 equals 0 and forwards the result to the IDC. 7 of 14 SEL Selects which arithmetic device (adder, subtracter, multiplier) can write into ACC. 8 of 14 DP1 A register that contains the memory address of the value for DR1. Address in DP1 is also used for the write operations of ACC into memory. 9 of 14 DP2 A register that contains the memory address of the value for DR2. 10 of 14 IP A register that contains the address of the current instruction. 11 of 14 IR Contains the current instruction. 12 of 14 +1 Increases the content of the IP by 1, i.e. switches to the next instruction if there is no conditional jump. 13 of 14 IDC Decodes the instruction in IR and turns it into; the next value of IP, values of DP1 and DP2, signal for SEL, signal that ACC may write into DM. 14 of 14
Comments
No comments have yet been made