






























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!































ArithmeticandLogin UnitInternal CPUInterconnectionControlUnit Registers I/O^ CPUSystemBus Memory
CPU
SequencingLogin Control UnitRegisters andDecodersControlMemory ALU^ ControlInternalUnitBus Registers
Control Unit
©Javaid Khurshid
( MDR ) and ■^ memory address register
( MAR ). ^ The^ MDR
and^ MAR^
are used exclusively by the CPU and are not directly accessible toprogrammers.
MDR ■^ The address of the location into which the word is to bestored is loaded by the CPU into a
MAR.
^ Similarly, to perform a memory read operation, theMDR and MAR are used as follows:^ ■^ The address of the location from which the word is to beread is loaded into the MAR.^ ■^ The required word will be loaded by the memory into theMDR ready for use by the CPU.
©Javaid Khurshid
^ Condition registers, or flags, are used to maintainstatus information. ^ Some architectures contain a special ProgramStatus Word (PSW) register. ^ The PSW contains bits that are set by the CPU toindicate the current status of an executing program. ^ These indicators are typically for arithmeticoperations, interrupts, memory protectioninformation, or processor status.
Push^ and the
Pop^ operations. ■^ A specific register, called the
stack pointer (SP),
is used
to indicate the stack location that can be addressed. ■ In the stack push operation, the SP value is used toindicate the location (called the top of the stack). ■ After storing (pushing) this value, the SP is incremented(In some architectures a SP is decremented (i.e. x86) asthe stack grows low in memory).