Explain the register transfer language with example. | Computer Organization & Architecture

 The Register Transfer Language is the symbolic representation of notations used to specify the sequence of micro-operations.

In a computer system, data transfer takes place between processor registers and memory and between processor registers and input-output systems. These data transfer can be represented by standard notations given below:

  • Notations R0, R1, R2..., and so on represent processor registers.
  • The addresses of memory locations are represented by names such as LOC, PLACE, MEM, etc.
  • Input-output registers are represented by names such as DATA IN, DATA OUT and so on.
  • The content of register or memory location is denoted by placing square brackets around the name of the register or memory location.
For example,

R1 ← R2

  • This statement denotes a transfer of the content of register R2 into register R1.
  • Here, content of R1 is replaced by content of R2.
  • Content of R2 is not affected by this transfer.

If there is a condition, such that.

If (P = 1) then (R1  ← R2)
Where P is a control signal generated by the control bus. 

Above statement can be used as,
P=1: R1 ← R2

The control condition ‘P=1’ is terminated with a colon. It symbolizes the requirement that the transfer operation be executed by the hardware only if P= 1.

 

Basic symbols for Register Transfer Language

SymbolDescriptionExamples
Letters & numeralsDenotes a registerMAR, R2
Parenthesis ( )Denotes a part of a registerR2(0-7), R2(L)
Arrow ←Denotes transfer of informationR2 ← R1
Comma ,Separates two micro operationsR2 ← R1, R1 ← R2  

 

 

Some Other Question :



















Post a Comment

Previous Post Next Post

Contact Form