Friday, June 14, 2019
Advanced Computer Engineering Essay Example | Topics and Well Written Essays - 1000 words
Advanced Computer Engineering - Essay ExampleThe selective information prompts execution of certain functions as defined by the computer code build upers. The source code enables programmers to understand the functioning of various applications through the written text. These codes are normally utilised in differentiating various computer applications, performing similar functions. These applications are differentiated through the various commands required to perform specified functions. This exercise seeks to develop a program simulating performance of an 8-bit central processing unit. The whole process can be divided into three major sections of defining pedagogics execute, describing simulator algorithm and compose the code for implementation of the identified simulator. This project could be defined through the following steps Identifying required bits Selecting the necessary instructions for the code Defining the required wile algorithm Selecting the programming language being utilised in designing the code. Designing a simulator capable of simulating functionality of 8-bit CPU. Testing the developed simulator design for compliance and relation with required CPU. Concluding the project. Proposed solution The proposed CPU design shall involve various design choices and decisions aimed at improving the previous designs. In this example, the requirement needs writing of a program which simulates the performance of 8-bit CPU. The process begins with definition of instruction sets, which can be utilised by the CPU. The defined instruction set shall become the earth for developing CPU simulator algorithm, implemented through the C programming language. The C programming language could be identified as one which allows lexical covariant scope, which makes the program become completely independent (King, 2008). This method remains the most commonly utilised programming language which much software remain compatible with. This make coding through this lan guage sufficient as the systems could be utilised in many operations without experiencing difficulties. The process begins with consideration of the available options for jailbreak down the various instruction fields, to make complete Opcode, Addressing Mode and Operand. A format satisfying the basic CPU purposes shall be adopted for the context of this exercise. in spite of appearance this exercise, 3-bit 8 independent Opcode shall be developed with, another bit being utilised in selection of the addressing mode, while the last four bits can be applied for the Operand. This will have created an 8-bit CPU, which can be utilised in undertaking various operations. Design Within the designing section, identification of the instruction set becomes the basis for beginning the designing process. The process of the CPU shall include loading of instructions into the register, thus the first instruction set identified shall be named LOAD. This instruction shall be associated with the main register as desired. The function shall be represented by LDA in spite of appearance the CPU. Following loading of the instruction the CPU shall also be required to store the entered information within the system. This shall become the second instruction set within the CPU, represented by STA. For the purposes of integrating arithmetic values within the CPU, a third instruction shall be called ADD, becomes necessary. Subtraction can be implemented through inclusion of negative integers within the system. Repetitive subtraction and plus components shall be utilised in implementing multiplication and division qualities. Other instruction sets could also be included to enhance the functioning and increase the number of operations, which the CPU can perform. The number of bits utilised in developing this
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.