Instruction Set Design for Processors
Instruction Set Design for Processors
PRESENTED BY:
COMPUTER ARCHITECTURE
MAY 2021
Computer Architecture
Table of Contents.
INTRODUCTION.
OBJECTIVES................................................................................................................. 5
GENERAL OBJECTIVE ................................................................................................ 5
SPECIFIC OBJECTIVESS ....................................................................................... 5
DESCRIPTION OF THE PROBLEM. ............................................................................. 6
JUSTIFICATION.......................................................................................................... 7
DEVELOPMENT– DELIVERY1 ................................................................................... 8
INSTRUCTIONS FOR SOLVING THE PROBLEM ................................... 8
DESIGN AND SIMULATIONS ....................................................................................... 9
PROPOSED ALGORITHM........................................................................................ 9
SOLUTION OBTAINED............................................................................................... 9
DEVELOPMENT - DELIVERY 2.................................................................................. 10
LISTADO DE INSTRUCCIONES (NOMBRE, MNEMÓNICO Y PARÁMETROS
RECEIVED ............................................................................................................... 10
DESCRIPTION OF A PHRASE INDICATING WHAT IT DOES IN TERMS OF THE
WHAT IT RECEIVES AS A PARAMETER. ....................................................................... 10
EXAMPLE JUMP INSTRUCTIONS ................................................................ 11
DEFINITION OF THE NUMBER OF RECORDS THAT WILL BE USED AND THE
SIZE OF EACH RECORD............................................................................... 12
BRIEF DESCRIPTION OF THE ADDRESSING MODES THAT WILL BE
POSSIBLE.................................................................................................................. 12
HIGH-LEVEL PROGRAM TRANSLATION (DELIVERY 1) TO THE LANGUAGE
ASSEMBLER THAT THEY HAVE BUILT, USING THEIR OWN SET
OF INSTRUCTIONS. .............................................................................................. 13
LIST IN HEX OF THE BINARY REPRESENTING THE PROGRAM
DONE IN POINT 4 OF THIS DELIVERY.............................................. 14
ALU IN LOGISIM, THAT CAN EXECUTE INSTRUCTIONS
REQUIRED BY THE PROGRAM....................................................................... 14
DEVELOPMENT - DELIVERY 3.................................................................................. 15
FILE .CIRC, MADE ON LOGISIM, WHICH INCLUDES: MEMORY OF
PROGRAM, ALU, REGISTERS, CONTROL UNIT, INTERCONNECTED
IN SUCH A WAY THAT THEY ARE ABLE TO EXECUTE THE PROGRAM
DESIGNED................................................................................................................. 15
FUNCTIONAL TESTS:............................................................................... 16
CONCLUSIONS
BIBLIOGRAPHIC REFERENCESS ......................................................................... 19
Computer Architecture
Table List
List of Figures
INTRODUCTION.
The conceptual, which we call software, where the languages are found
programming and allow us to carry out the tasks that our devices today
During the course of this module, the solution that was provided will be presented.
for the problem posed, which consists of developing an algorithm that determines
the development. These proposals will be made using the programming language
OBJECTIVES
GENERAL OBJECTIVE
the course of the eight scenarios taking into account the imposed conditions in
the documentation and the tutor. In order to understand the functioning of the
SPECIFIC OBJECTIVES
[Link] from the basics, design and build an algorithm that determines if a number
is it prime or not.
2. Understand the ISA instruction set and define those that are required for the
processor design.
of prime numbers.
inside it.
5. Establish periodic meetings that allow for the proper functioning of the
parts of the working group in addition to establishing delivery points for each one
Every two years, the number of transistors in microprocessors would double. But
With the passage of years, this law is ceasing to be law as large companies ...
they are increasingly reducing that time. Hence, today there are already processors of
56 cores and it is announced that this year there will be 100. (XATAKA, n.d.).
Although in the practice of this subject it does not reach 100 cores, the design of a
JUSTIFICATION.
When building software, one must always have for obvious reasons a
hardware, whether it is physical or in the cloud. For this reason, it is important to know how
this hardware that is being worked on is composed, and the reason is simple:
performance. The performance of the machine being used will directly affect
improves significantly. Seeing it another way is to see the difference between a person
One knows how their car is composed and the other does not.
Computer Architecture
DEVELOPMENT–DELIVERY 1
1. Capture the number that you want to validate whether it is prime or not.
2. Compare if the entered number is greater (>) than 1, if this is not the case then
5. Obtain the remainder of the division between the entered number and the number of the
iteration.
6. Compare the remainder of the division, if it is equal (=) to 0 it is determined that the
the value of the iteration is a divisor of the value that was entered.
7. Evaluate the condition with the mentioned parameters and if it is met, it is increased.
8. End the FOR loop by validating if the count of divisors is equal to 0, if this
it is fulfilled it will be determined that this entered number IS prime, if it is not fulfilled it will
DEVELOPMENT - DELIVERY 2
Instruction Indications
Li R2 5 The value of 5 is given to record number 2.
Rem R1, R2, R3 0 = remainder of 10/5, assuming that R2 is worth 10, R3
vale 5
Branch equal R1, R2 R1 equals R2
Sum R5, R2, R3 (R5= R5 = R2 + R3
R2+R3)
Mul R6, R2, R3 (R6 = R2 * R3) R6 = R2 * R3
Store R1, 0 (R2) R2
Jump 0111
Table 2. Indication of the Operation performed by the Parameters.
Source: Own Preparation
Computer Architecture
• Instruction (A) JUMP TO Address: Load the memory address into the CP
• Instruction (B) JUMP IF LESS THAN Address: Stores the address in the CP
This game of 14 instructions forms a complete set with which one can
instructions:
DEFINITION OF THE NUMBER OF RECORDS THAT WILL BE USED AND THE SIZE
OF EACH RECORD
instructions:
POSSIBLE
Source: Self-made
Computer Architecture
INSTRUCTIONS.
jump 111 Label Jump Jump to the place Jump to the place
0111 indicated by
way
independent
Source: Own
Computer Architecture
Source: Own
DEVELOPMENT - DELIVERY 3
FILE .CIRC, MADE ON LOGISIM, THAT INCLUDES: MEMORY OF
PROGRAM, ALU, REGISTERS, CONTROL UNIT, INTERCONNECTED
SCHOOL FORM THAT CAN EXECUTE THE DESIGNED PROGRAM
FUNCTIONAL TESTING:
Considering the algorithm designed for the first delivery of this project, it
it depends on the CPU file and the ALU file for its correct execution, they are presented
the entered number is a prime number or otherwise it will be indicated that it is not.
Source: Own
Computer Architecture
CONCLUSIONS
1. During the development of the algorithm, it is intended to use the Visual text editor.
Establish regular times and meetings, which has positively led to improvements.
3. With the exercise proposed in the activity of this scenario we can observe
that by applying algorithmic calculations, the ... can be identified in a practical and easy way.
4. When executing or running the code in the Visual Studio environment, in which you
developed for this exercise, the methodical process of numerical calculation is appreciated,
complying with the parameters and requirements demanded in the practical activity
identifying in this way the prime numbers and the non-prime numbers that we want
consult or verify.
Through this work, it can be inferred how we should analyze the way in which
the importance of understanding the relationship between software and computer hardware and how
they are the ones who send the orders to the other control centers and commands without
It should be emphasized that these are the most expensive part of the computers.
current providers that day by day satisfy the multiple needs of millions of
users.
determined, that is to say it is responsible for processing, organizing, the calculations and all
BIBLIOGRAPHIC REFERENCES
basic-python: [Link]
[Link]/en/latest/lesson1/
Anonymous. (February 12, 2021). Visual Studio. Retrieved from Visual Studio:
[Link]
[Link]
Brad Miller and David Ranum, L. C. (June 18, 2018). [Link]. Retrieved from
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
Before we had Moore's law, now we have Huang's law that outlines the future of Nvidia.
arm
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]: [Link]
No-5-and-6pdf/
[Link]