Determine the Type of Instruction



Rating - 3/5
508 views

The timing signal that is active after the decoding is T3• During time T,, the control unit determines the type of instruction that was just read from memory. The flowchart of Fig. 5-9 presents an initial configuration for the instruction cycle and shows how the control determines the instruction type after the decoding. The three possible instruction types available in the basic computer are specified in Fig. 5-5.

Decoder output D, is equal to 1 if the operation code is equal to binary Il l. From Fig. 5-5 we determine that if D7 = I, the instruction must be a

 

 

These Topics Are Also In Your Syllabus
1 Some Applications Hardware Implemntation link
2 Hardware Implementation - selective set link
You May Find Something Very Interesting Here. link
3 Shift Microoperations link
4 Shift Microoperations -circular shift link
5 Shift Microoperations -arithmetic shift link

 

 

 

 

 

These Topics Are Also In Your Syllabus
1 Memory-Reference Instructions link
2 AND to AC link
You May Find Something Very Interesting Here. link
3 ADD to AC link
4 LDA: Load to AC link
5 STA: Store AC & BUN: Branch Unconditionally link

 

 

 

 

 

These Topics Are Also In Your Syllabus
1 Other Decimal Codes link
2 Other Alphanumeric Codes link
You May Find Something Very Interesting Here. link
3 Error Detection Codes link
4 Error Detection Codes-2 link
5 Register Transfer Language link

 

 

 

register-reference or input-<>utput type. If D, = 0, the operation code must be one of the other seven values 000 through 110, specifying a memory-reference instruction. Control then inspects the value of the first bit of the instruction, which is now available in flip-flop I. If D7 = 0 and I = 1, we have a memoryreference instruction with an indirect address. It is then necessary to read the effective address from memory. The microoperation for the indirect address condition can be symbolized by the register transfer statement

AR +-M[AR]

These Topics Are Also In Your Syllabus
1 Instruction Codes link
2 operation code link
You May Find Something Very Interesting Here. link
3 Stored Program Organization link
4 Instruction Codes link
5 Indirect Address link

Initially, AR holds the address part of the instruction. This address is used during the memory read operation. The word at the address given by AR is read from memory and placed on the common bus. The LD input of AR is then enabled to receive the indirect address that resided in the 12 least significant bits of the memory word.

The three instruction types are subdivided into four separate paths. The selected operation is activated with the clock transition associated with timing signal T3• This can be symbolized as follows:

When a memory-reference instruction with I = 0 is encountered, it is not necessary to do anything since the effective address is already in AR. However, the sequence counter SC must be incremented when D;T, = 1, so that the execution of the memory-reference instruction can be continued with timing variable T4• A register-reference or input-output instruction can be executed with the clock associated with timing signal T3. After the instruction is executed, SC is cleared to 0 and control returns to the fetch phase with T0 = 1.

Note that the sequence counter SC is either incremented or cleared to 0 with every positive clock transition. We will adopt the convention that if SC is incremented, we will not write the statement SC <- SC + 1, but it will be implied that the control goes to the next timing signal in sequence. When SC is to be cleared, we will include the statement SC <-0.

The register transfers needed for the execution of the register-reference instructions are presented in this section. The memory-reference instructions are explained in the next section. The input-output instructions are included in Sec. 5-7.

These Topics Are Also In Your Syllabus
1 Floating-Point Representation link
2 Floating-point representation link
You May Find Something Very Interesting Here. link
3 Other Binary Code link
4 Other Decimal Codes link
5 Other Alphanumeric Codes link

Rating - 3/5
512 views

Advertisements
Rating - 3/5