SlideShare a Scribd company logo
1 of 4
Download to read offline
Please send the answers to my email. Mirre06@hotmail.com
Someone sent me wrong answers so please send me correct answers thanks.
1) What is a register? Be precise. Name at least two components in the LMC that meet the
qualications for a register. Name several different kinds of values that a register might hold.
Suppose that the following instructions are found at the given locations in memory:
20
LDA
50
21
ADD
51
50
724
51
006
a. Show the contents of the IR, the PC, the MAR, the MDR, and A at the conclusion of
instruction 20.
b. Show the contents of each register as each step of the fetch–execute cycle is performed for
instruction 21.
3) what is the purpose of the instructions register? What takes the place of the instruction
register in the LMC?
4) What is the explanation for the reasons why programmed IO does not work very well when
the IO device is a hard disk or a graphics display?
5) the x86 series is an example of a CPU architecture. as you are probably aware there are a
number of different chip including the x86 architecture? What word defines the difference
between the various CPUs that share the same architecture? Name at least one different CPU
architecture
20
LDA
50
21
ADD
51
50
724
51
006
Solution
1)The Little Man Computer (LMC) is an instructional model of a computer, created by Dr. Stuart
Madnick in 1965.The LMC is generally used to teach students, because it models a simple von
Neumann architecture computer - which has all of the basic features of a modern computer. It
can be programmed in machine code (albeit in decimal rather than binary) or assembly code.
Register:
In a computer, a register is one of a small set of data holding places that are part of a computer
processor . A register may hold a computer instruction , a storage address, or any kind of data
(such as a bit sequence or individual characters). Some instructions specify registers as part of
the instruction. For example, an instruction may specify that the contents of two defined registers
be added together and then placed in a specified register. A register must be large enough to hold
an instruction - for example, in a 32-bit instruction computer, a register must be 32 bits in length.
In some computer designs, there are smaller registers - for example, half-registers - for shorter
instructions. Depending on the processor design and language rules, registers may be numbered
or have arbitrary names.
Small, permanent storage locations within the CPU used for a particular purpose
Manipulated directly by the Control Unit
Wired for specific function
Size in bits or bytes (not in MB like memory)
Can hold data, an address or an instruction
Use of Registers
Scratchpad for currently executing program
Holds data needed quickly or frequently
Stores information about status of CPU and currently executing program
Address of next program instruction
Signals from external devices
General Purpose Registers
User-visible registers
Hold intermediate results or data values, e.g., loop counters
Equivalent to LMC’s calculator
Typically several dozen in current CPUs
Special-Purpose Registers
Program Count Register (PC)
Also called instruction pointer
2.Instruction Register (IR)
Stores instruction fetched from memory
3. Memory Address Register (MAR)
4.Memory Data Register (MDR)
5. Status Registers
Status of CPU and currently executing program
Flags (one bit Boolean variable) to track condition like arithmetic carry and overflow,
power failure, internal computer error
The control unit contains several important registers.
As already noted, the program counter register holds the address of the current instruction being
executed.
The instruction register (IR) holds the actual instruction being executed currently by the
computer. In the Little Man Computer this register was not used; the Little Man himself
remembered the instruction he was executing. In a sense, his brain served the function of the
instruction register.
The memory address register (MAR) holds the address of a memory location.
The memory data register (MDR), sometimes known as the memory buffer register, will hold a
data value that is being stored to or retrieved from the memory location currently addressed by
the memory address register.
The LMC model is based on the concept of a little man shut in a closed mail room (analogous to
a computer in this scenario). At one end of the room, there are 100 mailboxes (memory),
numbered 0 to 99, that can each contain a 3 digit instruction or data (ranging from 000 to 999).
Furthermore, there are two mailboxes at the other end labeled INBOXand OUTBOX which are
used for receiving and outputting data. In the center of the room, there is a work area containing
a simple two function (addition and subtraction) calculator known as the Accumulator and a
resettable counter known as the Program Counter. The Program Counter holds the address of the
next instruction the Little Man will carry out. This Program Counter is normally incremented by
1 after each instruction is executed, allowing the Little Man to work through a program
sequentially. Branchinstructions allow iteration (loops) and conditional programming structures
to be incorporated into a program. The latter is achieved by setting the Program Counter to a
non-sequential memory address if a particular condition is met (typically the value stored in the
accumulator being zero or positive
3)The Instruction Register (IR) stores the instruction currently being executed. In simple
processors each instruction to be executed is loaded into the instruction register which holds it
while it is decoded, prepared and ultimately executed.BRANCH (unconditional), BRANCH IF
ZERO (conditional) takes the place of the instruction register in the LMC

More Related Content

Similar to Please send the answers to my email. Mirre06@hotmail.comSomeone se.pdf

Assignment#1 lograbo, s.f. (cs3112-os)
Assignment#1 lograbo, s.f. (cs3112-os)Assignment#1 lograbo, s.f. (cs3112-os)
Assignment#1 lograbo, s.f. (cs3112-os)myanddy
 
Assignment#1 Mapacpac, F M P (Cs3112 Os)
Assignment#1 Mapacpac, F M P  (Cs3112 Os)Assignment#1 Mapacpac, F M P  (Cs3112 Os)
Assignment#1 Mapacpac, F M P (Cs3112 Os)dyandmy
 
VTU University Micro Controllers-06ES42 lecturer Notes
VTU University Micro Controllers-06ES42 lecturer NotesVTU University Micro Controllers-06ES42 lecturer Notes
VTU University Micro Controllers-06ES42 lecturer Notes24x7house
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessorankitnav1
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessorankitnav1
 
Bca examination 2015 csa
Bca examination 2015 csaBca examination 2015 csa
Bca examination 2015 csaAnjaan Gajendra
 
UNIT 2_ESD.pdf
UNIT 2_ESD.pdfUNIT 2_ESD.pdf
UNIT 2_ESD.pdfSaralaT3
 
the-cpu-design-central-processing-unit-design-1
the-cpu-design-central-processing-unit-design-1the-cpu-design-central-processing-unit-design-1
the-cpu-design-central-processing-unit-design-1Basel Mansour
 
Unit 1 computer architecture (1)
Unit 1   computer architecture (1)Unit 1   computer architecture (1)
Unit 1 computer architecture (1)DevaKumari Vijay
 
U proc ovw
U proc ovwU proc ovw
U proc ovwBrit4
 
Ass#1 ramirez.cv (cs3112 os)
Ass#1 ramirez.cv (cs3112 os)Ass#1 ramirez.cv (cs3112 os)
Ass#1 ramirez.cv (cs3112 os)charize
 
What is CPU Register? Type of CPU Register.
What is CPU Register? Type of CPU Register.What is CPU Register? Type of CPU Register.
What is CPU Register? Type of CPU Register.Kapil Dev Das
 

Similar to Please send the answers to my email. Mirre06@hotmail.comSomeone se.pdf (20)

Assignment#1 lograbo, s.f. (cs3112-os)
Assignment#1 lograbo, s.f. (cs3112-os)Assignment#1 lograbo, s.f. (cs3112-os)
Assignment#1 lograbo, s.f. (cs3112-os)
 
Assignment#1 Mapacpac, F M P (Cs3112 Os)
Assignment#1 Mapacpac, F M P  (Cs3112 Os)Assignment#1 Mapacpac, F M P  (Cs3112 Os)
Assignment#1 Mapacpac, F M P (Cs3112 Os)
 
Chapter1a
Chapter1aChapter1a
Chapter1a
 
Microcontroller part 1
Microcontroller part 1Microcontroller part 1
Microcontroller part 1
 
VTU University Micro Controllers-06ES42 lecturer Notes
VTU University Micro Controllers-06ES42 lecturer NotesVTU University Micro Controllers-06ES42 lecturer Notes
VTU University Micro Controllers-06ES42 lecturer Notes
 
Various type of register
Various type of registerVarious type of register
Various type of register
 
Instruction codes
Instruction codesInstruction codes
Instruction codes
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessor
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessor
 
Bca examination 2015 csa
Bca examination 2015 csaBca examination 2015 csa
Bca examination 2015 csa
 
UNIT 2_ESD.pdf
UNIT 2_ESD.pdfUNIT 2_ESD.pdf
UNIT 2_ESD.pdf
 
the-cpu-design-central-processing-unit-design-1
the-cpu-design-central-processing-unit-design-1the-cpu-design-central-processing-unit-design-1
the-cpu-design-central-processing-unit-design-1
 
Unit 1 computer architecture (1)
Unit 1   computer architecture (1)Unit 1   computer architecture (1)
Unit 1 computer architecture (1)
 
Computer architecture
Computer architecture Computer architecture
Computer architecture
 
CSA PPT UNIT 1.pptx
CSA PPT UNIT 1.pptxCSA PPT UNIT 1.pptx
CSA PPT UNIT 1.pptx
 
U proc ovw
U proc ovwU proc ovw
U proc ovw
 
Cpu
CpuCpu
Cpu
 
Ass#1 ramirez.cv (cs3112 os)
Ass#1 ramirez.cv (cs3112 os)Ass#1 ramirez.cv (cs3112 os)
Ass#1 ramirez.cv (cs3112 os)
 
What is CPU Register? Type of CPU Register.
What is CPU Register? Type of CPU Register.What is CPU Register? Type of CPU Register.
What is CPU Register? Type of CPU Register.
 
Presentation1
Presentation1Presentation1
Presentation1
 

More from ebrahimbadushata00

irktors (lcloding his accoueting instructor thmivenity c. All student.pdf
irktors (lcloding his accoueting instructor thmivenity c. All student.pdfirktors (lcloding his accoueting instructor thmivenity c. All student.pdf
irktors (lcloding his accoueting instructor thmivenity c. All student.pdfebrahimbadushata00
 
Is there a solution manual to group dynamics for team (fourth Editio.pdf
Is there a solution manual to group dynamics for team (fourth Editio.pdfIs there a solution manual to group dynamics for team (fourth Editio.pdf
Is there a solution manual to group dynamics for team (fourth Editio.pdfebrahimbadushata00
 
IntroductionFor this program, you will implement an interface that.pdf
IntroductionFor this program, you will implement an interface that.pdfIntroductionFor this program, you will implement an interface that.pdf
IntroductionFor this program, you will implement an interface that.pdfebrahimbadushata00
 
In Python,Create a program that asks the user for a number and the.pdf
In Python,Create a program that asks the user for a number and the.pdfIn Python,Create a program that asks the user for a number and the.pdf
In Python,Create a program that asks the user for a number and the.pdfebrahimbadushata00
 
In contrast to sexual reproduction in animals, sexually-reproducing .pdf
In contrast to sexual reproduction in animals, sexually-reproducing .pdfIn contrast to sexual reproduction in animals, sexually-reproducing .pdf
In contrast to sexual reproduction in animals, sexually-reproducing .pdfebrahimbadushata00
 
Ignore what I have written because Im pretty sure its wrong. Thank.pdf
Ignore what I have written because Im pretty sure its wrong. Thank.pdfIgnore what I have written because Im pretty sure its wrong. Thank.pdf
Ignore what I have written because Im pretty sure its wrong. Thank.pdfebrahimbadushata00
 
How can crisis leadership be learnedSolutionAn organization n.pdf
How can crisis leadership be learnedSolutionAn organization n.pdfHow can crisis leadership be learnedSolutionAn organization n.pdf
How can crisis leadership be learnedSolutionAn organization n.pdfebrahimbadushata00
 
Given the following information on a project develop early and la.pdf
Given the following information on a project develop early and la.pdfGiven the following information on a project develop early and la.pdf
Given the following information on a project develop early and la.pdfebrahimbadushata00
 
Global Economy, National Economies, and CompetitionIn the first pa.pdf
Global Economy, National Economies, and CompetitionIn the first pa.pdfGlobal Economy, National Economies, and CompetitionIn the first pa.pdf
Global Economy, National Economies, and CompetitionIn the first pa.pdfebrahimbadushata00
 
Explain why owners equity includes common stock as a liability eve.pdf
Explain why owners equity includes common stock as a liability eve.pdfExplain why owners equity includes common stock as a liability eve.pdf
Explain why owners equity includes common stock as a liability eve.pdfebrahimbadushata00
 
Evaluate the statements below and determine which is the best reason.pdf
Evaluate the statements below and determine which is the best reason.pdfEvaluate the statements below and determine which is the best reason.pdf
Evaluate the statements below and determine which is the best reason.pdfebrahimbadushata00
 
Discuss the Economic Benefits from Immigration.SolutionImmigra.pdf
Discuss the Economic Benefits from Immigration.SolutionImmigra.pdfDiscuss the Economic Benefits from Immigration.SolutionImmigra.pdf
Discuss the Economic Benefits from Immigration.SolutionImmigra.pdfebrahimbadushata00
 
Conclusion Phases of Oxidative Phosphorylation Focus your attention.pdf
Conclusion Phases of Oxidative Phosphorylation  Focus your attention.pdfConclusion Phases of Oxidative Phosphorylation  Focus your attention.pdf
Conclusion Phases of Oxidative Phosphorylation Focus your attention.pdfebrahimbadushata00
 
Computer Forensics Process Please respond to the followingThe.pdf
Computer Forensics Process Please respond to the followingThe.pdfComputer Forensics Process Please respond to the followingThe.pdf
Computer Forensics Process Please respond to the followingThe.pdfebrahimbadushata00
 
ArticleHinduism and Caste Systemby Jayaram VHinduism is a univ.pdf
ArticleHinduism and Caste Systemby Jayaram VHinduism is a univ.pdfArticleHinduism and Caste Systemby Jayaram VHinduism is a univ.pdf
ArticleHinduism and Caste Systemby Jayaram VHinduism is a univ.pdfebrahimbadushata00
 
Can someone solveexplain this I thought I was understanding this, .pdf
Can someone solveexplain this I thought I was understanding this, .pdfCan someone solveexplain this I thought I was understanding this, .pdf
Can someone solveexplain this I thought I was understanding this, .pdfebrahimbadushata00
 
C The ame compound componda with F Souls . E Difluut eoupou ds with.pdf
C The ame compound componda with F Souls . E  Difluut eoupou ds with.pdfC The ame compound componda with F Souls . E  Difluut eoupou ds with.pdf
C The ame compound componda with F Souls . E Difluut eoupou ds with.pdfebrahimbadushata00
 
Background Sometimes the standard C libraries (stdio.h, stdlib.h, e.pdf
Background Sometimes the standard C libraries (stdio.h, stdlib.h, e.pdfBackground Sometimes the standard C libraries (stdio.h, stdlib.h, e.pdf
Background Sometimes the standard C libraries (stdio.h, stdlib.h, e.pdfebrahimbadushata00
 
a. Modify the C program ex.9 so that it simulates the Unix pipe comm.pdf
a. Modify the C program ex.9 so that it simulates the Unix pipe comm.pdfa. Modify the C program ex.9 so that it simulates the Unix pipe comm.pdf
a. Modify the C program ex.9 so that it simulates the Unix pipe comm.pdfebrahimbadushata00
 
A severe B12 deficiency can cause megaloblastic anemia but in severe .pdf
A severe B12 deficiency can cause megaloblastic anemia but in severe .pdfA severe B12 deficiency can cause megaloblastic anemia but in severe .pdf
A severe B12 deficiency can cause megaloblastic anemia but in severe .pdfebrahimbadushata00
 

More from ebrahimbadushata00 (20)

irktors (lcloding his accoueting instructor thmivenity c. All student.pdf
irktors (lcloding his accoueting instructor thmivenity c. All student.pdfirktors (lcloding his accoueting instructor thmivenity c. All student.pdf
irktors (lcloding his accoueting instructor thmivenity c. All student.pdf
 
Is there a solution manual to group dynamics for team (fourth Editio.pdf
Is there a solution manual to group dynamics for team (fourth Editio.pdfIs there a solution manual to group dynamics for team (fourth Editio.pdf
Is there a solution manual to group dynamics for team (fourth Editio.pdf
 
IntroductionFor this program, you will implement an interface that.pdf
IntroductionFor this program, you will implement an interface that.pdfIntroductionFor this program, you will implement an interface that.pdf
IntroductionFor this program, you will implement an interface that.pdf
 
In Python,Create a program that asks the user for a number and the.pdf
In Python,Create a program that asks the user for a number and the.pdfIn Python,Create a program that asks the user for a number and the.pdf
In Python,Create a program that asks the user for a number and the.pdf
 
In contrast to sexual reproduction in animals, sexually-reproducing .pdf
In contrast to sexual reproduction in animals, sexually-reproducing .pdfIn contrast to sexual reproduction in animals, sexually-reproducing .pdf
In contrast to sexual reproduction in animals, sexually-reproducing .pdf
 
Ignore what I have written because Im pretty sure its wrong. Thank.pdf
Ignore what I have written because Im pretty sure its wrong. Thank.pdfIgnore what I have written because Im pretty sure its wrong. Thank.pdf
Ignore what I have written because Im pretty sure its wrong. Thank.pdf
 
How can crisis leadership be learnedSolutionAn organization n.pdf
How can crisis leadership be learnedSolutionAn organization n.pdfHow can crisis leadership be learnedSolutionAn organization n.pdf
How can crisis leadership be learnedSolutionAn organization n.pdf
 
Given the following information on a project develop early and la.pdf
Given the following information on a project develop early and la.pdfGiven the following information on a project develop early and la.pdf
Given the following information on a project develop early and la.pdf
 
Global Economy, National Economies, and CompetitionIn the first pa.pdf
Global Economy, National Economies, and CompetitionIn the first pa.pdfGlobal Economy, National Economies, and CompetitionIn the first pa.pdf
Global Economy, National Economies, and CompetitionIn the first pa.pdf
 
Explain why owners equity includes common stock as a liability eve.pdf
Explain why owners equity includes common stock as a liability eve.pdfExplain why owners equity includes common stock as a liability eve.pdf
Explain why owners equity includes common stock as a liability eve.pdf
 
Evaluate the statements below and determine which is the best reason.pdf
Evaluate the statements below and determine which is the best reason.pdfEvaluate the statements below and determine which is the best reason.pdf
Evaluate the statements below and determine which is the best reason.pdf
 
Discuss the Economic Benefits from Immigration.SolutionImmigra.pdf
Discuss the Economic Benefits from Immigration.SolutionImmigra.pdfDiscuss the Economic Benefits from Immigration.SolutionImmigra.pdf
Discuss the Economic Benefits from Immigration.SolutionImmigra.pdf
 
Conclusion Phases of Oxidative Phosphorylation Focus your attention.pdf
Conclusion Phases of Oxidative Phosphorylation  Focus your attention.pdfConclusion Phases of Oxidative Phosphorylation  Focus your attention.pdf
Conclusion Phases of Oxidative Phosphorylation Focus your attention.pdf
 
Computer Forensics Process Please respond to the followingThe.pdf
Computer Forensics Process Please respond to the followingThe.pdfComputer Forensics Process Please respond to the followingThe.pdf
Computer Forensics Process Please respond to the followingThe.pdf
 
ArticleHinduism and Caste Systemby Jayaram VHinduism is a univ.pdf
ArticleHinduism and Caste Systemby Jayaram VHinduism is a univ.pdfArticleHinduism and Caste Systemby Jayaram VHinduism is a univ.pdf
ArticleHinduism and Caste Systemby Jayaram VHinduism is a univ.pdf
 
Can someone solveexplain this I thought I was understanding this, .pdf
Can someone solveexplain this I thought I was understanding this, .pdfCan someone solveexplain this I thought I was understanding this, .pdf
Can someone solveexplain this I thought I was understanding this, .pdf
 
C The ame compound componda with F Souls . E Difluut eoupou ds with.pdf
C The ame compound componda with F Souls . E  Difluut eoupou ds with.pdfC The ame compound componda with F Souls . E  Difluut eoupou ds with.pdf
C The ame compound componda with F Souls . E Difluut eoupou ds with.pdf
 
Background Sometimes the standard C libraries (stdio.h, stdlib.h, e.pdf
Background Sometimes the standard C libraries (stdio.h, stdlib.h, e.pdfBackground Sometimes the standard C libraries (stdio.h, stdlib.h, e.pdf
Background Sometimes the standard C libraries (stdio.h, stdlib.h, e.pdf
 
a. Modify the C program ex.9 so that it simulates the Unix pipe comm.pdf
a. Modify the C program ex.9 so that it simulates the Unix pipe comm.pdfa. Modify the C program ex.9 so that it simulates the Unix pipe comm.pdf
a. Modify the C program ex.9 so that it simulates the Unix pipe comm.pdf
 
A severe B12 deficiency can cause megaloblastic anemia but in severe .pdf
A severe B12 deficiency can cause megaloblastic anemia but in severe .pdfA severe B12 deficiency can cause megaloblastic anemia but in severe .pdf
A severe B12 deficiency can cause megaloblastic anemia but in severe .pdf
 

Recently uploaded

Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 

Recently uploaded (20)

9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 

Please send the answers to my email. Mirre06@hotmail.comSomeone se.pdf

  • 1. Please send the answers to my email. Mirre06@hotmail.com Someone sent me wrong answers so please send me correct answers thanks. 1) What is a register? Be precise. Name at least two components in the LMC that meet the qualications for a register. Name several different kinds of values that a register might hold. Suppose that the following instructions are found at the given locations in memory: 20 LDA 50 21 ADD 51 50 724 51 006 a. Show the contents of the IR, the PC, the MAR, the MDR, and A at the conclusion of instruction 20. b. Show the contents of each register as each step of the fetch–execute cycle is performed for instruction 21. 3) what is the purpose of the instructions register? What takes the place of the instruction register in the LMC? 4) What is the explanation for the reasons why programmed IO does not work very well when the IO device is a hard disk or a graphics display? 5) the x86 series is an example of a CPU architecture. as you are probably aware there are a number of different chip including the x86 architecture? What word defines the difference between the various CPUs that share the same architecture? Name at least one different CPU architecture 20 LDA
  • 2. 50 21 ADD 51 50 724 51 006 Solution 1)The Little Man Computer (LMC) is an instructional model of a computer, created by Dr. Stuart Madnick in 1965.The LMC is generally used to teach students, because it models a simple von Neumann architecture computer - which has all of the basic features of a modern computer. It can be programmed in machine code (albeit in decimal rather than binary) or assembly code. Register: In a computer, a register is one of a small set of data holding places that are part of a computer processor . A register may hold a computer instruction , a storage address, or any kind of data (such as a bit sequence or individual characters). Some instructions specify registers as part of the instruction. For example, an instruction may specify that the contents of two defined registers be added together and then placed in a specified register. A register must be large enough to hold an instruction - for example, in a 32-bit instruction computer, a register must be 32 bits in length. In some computer designs, there are smaller registers - for example, half-registers - for shorter instructions. Depending on the processor design and language rules, registers may be numbered or have arbitrary names. Small, permanent storage locations within the CPU used for a particular purpose Manipulated directly by the Control Unit Wired for specific function Size in bits or bytes (not in MB like memory) Can hold data, an address or an instruction Use of Registers Scratchpad for currently executing program Holds data needed quickly or frequently Stores information about status of CPU and currently executing program Address of next program instruction Signals from external devices
  • 3. General Purpose Registers User-visible registers Hold intermediate results or data values, e.g., loop counters Equivalent to LMC’s calculator Typically several dozen in current CPUs Special-Purpose Registers Program Count Register (PC) Also called instruction pointer 2.Instruction Register (IR) Stores instruction fetched from memory 3. Memory Address Register (MAR) 4.Memory Data Register (MDR) 5. Status Registers Status of CPU and currently executing program Flags (one bit Boolean variable) to track condition like arithmetic carry and overflow, power failure, internal computer error The control unit contains several important registers. As already noted, the program counter register holds the address of the current instruction being executed. The instruction register (IR) holds the actual instruction being executed currently by the computer. In the Little Man Computer this register was not used; the Little Man himself remembered the instruction he was executing. In a sense, his brain served the function of the instruction register. The memory address register (MAR) holds the address of a memory location. The memory data register (MDR), sometimes known as the memory buffer register, will hold a data value that is being stored to or retrieved from the memory location currently addressed by the memory address register. The LMC model is based on the concept of a little man shut in a closed mail room (analogous to a computer in this scenario). At one end of the room, there are 100 mailboxes (memory), numbered 0 to 99, that can each contain a 3 digit instruction or data (ranging from 000 to 999). Furthermore, there are two mailboxes at the other end labeled INBOXand OUTBOX which are used for receiving and outputting data. In the center of the room, there is a work area containing a simple two function (addition and subtraction) calculator known as the Accumulator and a resettable counter known as the Program Counter. The Program Counter holds the address of the next instruction the Little Man will carry out. This Program Counter is normally incremented by 1 after each instruction is executed, allowing the Little Man to work through a program
  • 4. sequentially. Branchinstructions allow iteration (loops) and conditional programming structures to be incorporated into a program. The latter is achieved by setting the Program Counter to a non-sequential memory address if a particular condition is met (typically the value stored in the accumulator being zero or positive 3)The Instruction Register (IR) stores the instruction currently being executed. In simple processors each instruction to be executed is loaded into the instruction register which holds it while it is decoded, prepared and ultimately executed.BRANCH (unconditional), BRANCH IF ZERO (conditional) takes the place of the instruction register in the LMC