Ldco Unit 4 Notes
Ldco Unit 4 Notes
Instructor
Dr. R. S. Khule,
Department of Information Technology,
Matoshri College of Engineering and Research
Centre, Nashik.
Recap
2
Contents
R i in
1.Register Transfers
Ri
R i out
Y in
Constant 4
Select MUX
A B
ALU
Z in
Z out
• The input and output gates for register Ri are controlled by
signals is Rin and Riout .
• Rin is set to1 – data available on common bus are loaded into
Ri.
• Riout is set to1 – the contents of register are placed on the bus.
• Riout is set to 0 – the bus can be used for transferring data
from other registers .
Data transfer between two registers
Assume MAR
is always available
on the address lines
of the memory bus.
Move (R1), R2
1. R1out, MARin, Read
2. MDRinE, WMFC
3. MDRout, R2in
4.Storing a word in memory
• General Purpose
• Data
• Address
• Condition Codes
General Purpose Registers (1)
• Between 8 - 32
• Fewer = more memory references
• More does not reduce memory references
Condition Code Registers
• Program Counter
• Instruction Register
• Memory Address Register
• Memory Buffer Register
Program Status Word
35
Assignment