CPU Sim 3.1: A Tool for Simulating Computer Architectures for Computer Organization Classes
|
|
|
- Reynold Casey
- 9 years ago
- Views:
Transcription
1 CPU Sim 3.1: A Tool for Simulating Computer Architectures for Computer Organization Classes DALE SKRIEN Colby College CPU Sim 3.1 is an educational software package written in Java for use in CS3 courses. CPU Sim provides students an active learning environment in which they can design, modify, and compare various computer architectures at the register-transfer level and higher. They can run assembly language or machine language programs for those architectures through simulation. CPU Sim is a complete development environment, including dialog boxes for designing the CPU architecture, a text editor for editing assembly language programs, an assembler, several display windows for viewing the registers and RAMs during the execution of programs, and many debugging features such as the ability to step forward or backward during execution, inspecting and optionally changing the values in the registers and RAMs after each step. These features and suggested uses of CPU Sim in CS3 classes are discussed. Categories and Subject Descriptors: C.0 [Computer Systems Organization - General]: Modeling of Computer Architecture; I.6.5 [Simulation and Modeling]: Model Development; K.3.1 [Computers and Education]: Computer Uses in Education General Terms: Design, Languages Additional Key Words and Phrases: Computer architecture simulator, education 1. INTRODUCTION In a CS3 (Computer Organization) course, students should not only read about various computer architectures but should ideally have active hands-on experience with such architectures. Unfortunately, providing this experience can be difficult due to the cost of a lab with the necessary hardware and the time for students to become proficient in the use of tools for working with the hardware. For this reason, many CPU simulators have been developed [Abbatista et al. 2000; Agren 1999; Yehezkel et al. 2001; Yurcik 2001]. Unfortunately, most of these packages simulate only one fixed architecture. We feel that students should be exposed to several computer architectures, and ideally should have hands-on experience with as many of them as possible, and even hands-on experience at designing some simple architectures. With the use of a simulator that allows students such control over the simulation, instructors have many more opportunities for providing valuable learning experiences. For example, to make programming easier for that architecture, instructors could give students an architecture and a series of assignments that repeatedly ask the students to add and implement new features, such as new addressing modes, new machine instructions, or new registers. At Author's address: Department of Computer Science, 5841 Mayflower Hill, Colby College, Waterville, ME 04901; [email protected]; web: Permission to make digital/hard copy of part of this work for personal or classroom use is granted without fee provided that the copies are not made or distributed for profit or commercial advantage, the copyright notice, the title of the publication, and its date of appear, and notice is given that copying is by permission of the ACM, Inc. To copy otherwise, to republish, to post on servers, or to redistribute to lists, requires prior specific permission and/or a fee ACM /01/ $5.00 ACM Journal of Educational Resources in Computing, Vol. 1, No. 4, December 2001, Pages
2 ACM Journal of Educational Resources in Computing, Vol. 1, No. 4, December CPU Sim each stage, the students could also be given assembly language programming assignments that emphasize the advantages of the new features being added. CPU Sim is a tool designed to facilitate such interactive hands-on learning. With CPU Sim, students can design their own architectures from scratch or modify architectures given to them. Students can simulate a variety of architectures, including, for example, accumulator-based, register-based (RISC), and stack-based CPUs, and they can run programs on them without the need for any physical hardware other than the computer on which CPU Sim is run. With CPU Sim, instructors can give students hands-on experience with the following topics in the IEEE/ACM Computing Curriculum [IEEE/ACM 2001]: numeric data representation and number bases representation of nonnumeric data microprogrammed realization of the CPU control unit; instruction fetch, decode, and execution instruction types (data manipulation, control, I/O) instruction formats assembly/machine language programming addressing modes main memory organization and operations The knowledge of a high-level language is not a prerequisite to understanding and using CPU Sim, but an appreciation of what is involved in programming with a highlevel language is useful. The author has successfully used CPU Sim in his introductory machine organization classes since 1989, in conjunction with the text Structured Computer Organization [Tanenbaum, 1999]. CPU Sim was not specifically designed to be used with that book, but it works well with it. The precursor to CPU Sim can be found in Kerridge et al. [1980]. CPU Sim version and its uses in the classroom are discussed in Skrien et al. [1991]. A later version (2.2) was discussed in Skrien [1994]. The current version of CPU Sim, version 3.1, was written using Java 2 and the Swing package. It was tested on computers running MacOS X, Windows 98/NT/2000, and Linux. This article discusses the features of CPU Sim 3.1, how to use it, and gives some sample assignments. The details of those assignments and their solutions are available from the author. 2. MAIN DISPLAY OF CPU SIM When CPU Sim is started, the main display window appears (see Figure 1). Except for some dialog boxes and help windows, all windows are internal to this main window. The internal windows include those that display the contents of registers and RAMs and those that contain text, such as assembly programs. Each of these inner windows and many of the menu items are discussed in later sections of this article. 3. CPU SIM S DESIGN FEATURES In CPU Sim, architectures are designed at the register-transfer level. That is, the user specifies the registers, main memories (RAM), microinstructions, machine instructions, and assembly language instructions for a hypothetical machine.
3 48 D. Skrien Fig. 1. CPU Sim's main display window. A machine instruction is implemented by a sequence of microinstructions, called its "execute sequence." The user specifies the execute sequence of all machine instructions, and so the user has complete control over the semantics of every instruction. When CPU Sim executes a program, it repeatedly executes machine cycles that consist of a fetch sequence (a sequence of microinstructions specified by the user) followed by the execute sequence of the machine instruction that was fetched. 3.1 Specifying Hardware Components If users are building a new architecture, they will need to first create the basic hardware components of the CPU. One type of component is a register or register array. ACM Journal of Computer Documentation, Vol. 1, No. 4, December 2001.
4 CPU Sim Fig. 2. The dialog for edited register arrays. Users can create as many registers and register arrays as they wish, with arbitrary widths (number of bits). For each register, the user specifies a name and the width. For each register array, the user specifies a name, the number of registers in the array, and the width of all registers. These arrays are specified through the dialog box shown in Figure 2. If an array of 16 registers is named A, then CPU Sim automatically gives each individual register in the array the names "A[0]", "A[1]",..., "A[15]". Another type of hardware component that the user must specify is memory or RAM. A RAM is byte-addressable, and each RAM is accessible by the CPU only through memory access microinstructions, which transfer data between registers and RAMs. The user can specify as many RAMs as desired, each with its own size. For example, the user may wish to create three RAMs, one to hold the code, one to hold the stack, and one to hold the heap, or the user may wish to use only one RAM to hold everything. The last type of hardware component the user specifies is a condition bit (see Figure 3). Condition bits are just specific bits of existing registers that can be set to 1 by microinstructions and optionally by arithmetic operations if an overflow or carry out occurs. For example, a typical status register with NZVC bits can be specified this way. The user can also specify whether the setting of a condition bit will halt the execution of the current program. 3.2 Specifying the Microinstructions Next, the user creates microinstructions for manipulating the data in the registers and RAMs. The microinstructions involving arithmetic operations assume that integer values are stored in 2's complement representation. There are 15 kinds of microinstructions that can be created: 1. Transfer (or copy) operation between two registers. The user specifies the registers, the subset of consecutive bits of the source register to be copied, and the subset of consecutive bits of the destination register into which the data is to be copied; see Figure 4 for the dialog for editing transfer microinstructions. ACM Journal of Educational Resources in Computing, Vol. 1, No. 4, December 2001.
5 50 D. Skrien Fig. 3. The dialog for editing condition bits. Fig. 4. The dialog for editing transfer microinstructions. 2. Transfer operation from a register to a register in an array. In addition to the register-to-register transfer specifications, the user specifies which bits of what register contain the index of the destination register in the array. 3. Transfer operation from a register in an array to a register. This operation is similar to the preceding kind of microinstruction. 4. Integer arithmetic operation (addition, subtraction, multiplication, division). The user specifies the operation, the two source registers, the destination ACM Journal of Computer Documentation, Vol. 1, No. 4, December 2001.
6 ACM Journal of Educational Resources in Computing, Vol. 1, No. 4, December CPU Sim register, and whether any condition bits should be set if overflow or carryout occurs. Note that there is no floating point support in CPU Sim. 5. Logical (Boolean) operation. The user specifies the operation (and, or, nand, nor, xor, not), the source registers, and the destination register. 6. Shift operation. The user specifies the type of shift (logical, arithmetic, or cyclical), the direction of the shift (left or right), the amount of shift, and the source and destination registers. 7. Test operation on bits of a register. These microinstructions allow jumping to other microinstructions forward or backward within a microinstruction sequence. The test microinstruction compares the value in a part of a register with a given value. If the comparison succeeds, then a number of successive microinstructions in the current sequence are skipped. The user specifies the comparison to be used (=, <, >, <=, >=), the value to be compared, the register, the bits of the register to be tested, and the amount to jump if the test succeeds. 8. Branch operation. This microinstruction is like a test microinstruction, except that it is an unconditional jump. The user specifies the amount to jump, which can be positive or negative. 9. Increment operation. The user specifies the register to be incremented, the amount of the increment, and whether any condition bits are to be set if overflow or carry out occurs. 10. Set operation. This operation sets a specified part of a register to a specified value. The user chooses the register, the consecutive bits of that register that are to be set, and the value. 11. Set condition bit operation. This operation sets a condition bit to 0 or 1. The user chooses the condition bit and the value to which it is to be set. 12. Memory access operation. The user specifies a data register, an address register, the RAM, and the direction of data movement (read or write). 13. I/O operation. The user specifies a buffer register to or from which data is to be moved, the direction of data movement (input or output), the type of data being moved (integer, ASCII, or Unicode), and the external source or destination of the data (either a dialog box for interaction with the user or a text file specified by the user for batch mode). 14. Decode operation. This operation is used in the fetch sequence and causes the contents of a specified instruction register to be decoded and the decoded machine instruction to be executed. 15. End operation. This operation indicates the end of the execution of the current machine instruction and tells CPU Sim to jump to the first microinstruction in the fetch sequence, and so start a new machine cycle. 3.3 Specifying the Machine Instructions and the Fetch Sequence The user specifies the semantics of each machine instruction by a sequence of microinstructions called its "execute sequence." Hence the user can create very simple instructions such as incrementing a register or very complex instructions with elaborate addressing schemes involving multiple registers and RAMs. The user can create instructions that are RISC-like, in that they all have the same length and layout, or the user can choose CISC-like instructions with variable lengths and a variety of layouts.
7 52 D. Skrien Fig. 5. The dialog for editing machine instructions. In addition to the execute sequence, the user specifies a name for each machine instruction, an opcode, and a sequence of field lengths. The sum of the field lengths is the length (in bits) of the instruction. The first field corresponds to the opcode and the remaining fields correspond to operands of the instruction; see Figure 5 for the dialog box for editing machine instructions. CPU Sim also has a dialog box (not shown here) in which the user can specify the fetch sequence. The fetch sequence is a sequence of microinstructions that CPU Sim executes at the beginning of each machine cycle. Users can specify any sequence they wish, but the fetch sequence usually includes microinstructions that fetch the next machine instruction, place it in an instruction register, increment a program counter, and then decode the instruction in the instruction register. 3.4 Saving and Viewing the Specification Once an architecture has been specified, the user can save this specification in an XML file for later reloading into CPU Sim and editing. The user can also save the machine specification in an HTML file which can be viewed with any web browser. 4. WRITING AND RUNNING PROGRAMS IN CPU SIM Once a complete CPU architecture has been specified, the user can write machine language or assembly language programs and run them on that CPU through simulation. For writing such programs, CPU Sim has a built-in text editor, including all the cut/copy/paste/find/replace/print facilities desired of such an editor. Machine language programs are written as text in the form of a sequence of 0's and 1's on each line, followed optionally by comments. These programs can be loaded into any specified RAM and then executed; see Figure 6 for a sample machine language program. ACM Journal of Computer Documentation, Vol. 1, No. 4, December 2001.
8 CPU Sim Fig. 6. A simple machine language program. In assembly language, an instruction is written using the name of a machine instruction followed by a list of values (either constants or symbols), one for each field of the instruction. For example, an instruction to add the contents of register A[0] to A[1] might look like add A0, A1 where A0 and A1 are equates with values 0 and 1, indicating the indices of the registers to be added; see the window labeled "W1-0.a" in Figure 1 for a sample assembly language program. Assembly programs can also include the definition of equates, the definitions and calls of macros, and pseudoinstructions such as a "data" directive that initializes parts of memory to specified values or an "include" directive that inserts the contents of another file in the current program before assembly. Once an assembly program has been written and saved to a file, it can be assembled. The CPU Sim assembler will check for errors in the code and, if there are such errors, it will display an error message and highlight the offending line in the assembly code. If no errors occur, the assembled machine code can be loaded into any specified RAM, the user can initialize any of the registers to specified values, and then execution of the program can begin. If, during execution, the user's program requests input from the user, a dialog box appears asking the user to type in a value. If the program specifies output to the user, this output appears in a dialog box. Input and output can also be directed to and from text files. Once the program halts (because a condition bit was set to 1, an error occurred, or the user selected the "Stop" menu item) the user can inspect the state of the machine, including the contents of the registers and RAMs. ACM Journal of Educational Resources in Computing, Vol. 1, No. 4, December 2001.
9 54 D. Skrien Fig. 7. The debugging toolbar. 5. CPU SIM S SPECIAL FEATURES Some of the strengths of CPU Sim include its display of registers and RAMs, its editing and debugging aids, and its help facilities, all of which make it easier for the user to understand what is happening as a program is executing. 5.1 Displaying Registers and RAMs The user can view the contents of the registers and RAMs though windows (for example, see the windows labeled "Registers" and "RAM Main" in Figure 1). The contents of the registers can be viewed and edited, if desired, in either decimal, binary, or hexadecimal. A decimal value is converted to or from a binary value using 2's complement representation. The values in each RAM can also be displayed in these bases. In addition, the RAM values can be displayed and edited in groups of 1 to 8 bytes, corresponding to the word size of the architecture being simulated. Furthermore, RAM windows include a column for comments associated with each word of memory, which provides a way for the user to indicate the contents of the word. The assembler initializes this column with the comments on the end of each line of assembly code. That is, if a line of the assembly program is add sum ; add sum to the acc then the assembler and loader will put the assembled code in the RAM and put the comment in the corresponding comment column of the RAM window. 5.2 Editing and Debugging CPU Sim has a debugging mode that users can enter when they wish to step through the execution of the program, one machine instruction or one microinstruction at a time. (See Figure 7 for the toolbar that appears when users enter debugging mode.) After each such step, the user can inspect and optionally edit the state of the machine. CPU Sim can also be configured to highlight cells of RAMs whose addresses are in certain registers. For example, the top of the stack can be highlighted, as well as the next instruction to be executed. At any point when in debug mode, the user can also back up one machine instruction at a time (all the way back to the original state of the machine when debug mode was entered). This ability to step forward and backward through the code makes pinpointing hardware or software errors almost trivial. If the program gets into an infinite loop, the user can choose "Stop" from the Execute menu, and the program will be halted. ACM Journal of Computer Documentation, Vol. 1, No. 4, December 2001.
10 CPU Sim Fig. 8. The CPU Sim help window. 5.3 Getting Help Virtually the entire user manual is available online with CPU Sim. In addition to a general help window (see Figure 8), many dialog boxes have "Help" buttons that bring up the online help for that dialog box. 6. SAMPLE ASSIGNMENTS USING CPU SIM A series of open and closed lab exercises using CPU Sim was created by the author to gradually introduce CS3 students to more and more complex machine architectures. These exercises expose the students to an accumulator-based machine, a RISC-like machine (with regular instruction layout and arrays of general-purpose registers), and a stack-based machine (the Java Virtual Machine or JVM). The lab exercises are assigned approximately once or twice a week in a 14-week semester, with the first lab occurring in the second week of the semester. The students are given about a week to complete each assignment. The lab exercises are summarized here. The complete assignments and their solutions can be obtained from the author. 6.1 Introduction to Wombat1 Before learning to use CPU Sim, students are given an exercise in which they are presented with a hypothetical machine, the "Wombat1" (a simple accumulator-based ACM Journal of Educational Resources in Computing, Vol. 1, No. 4, December 2001.
11 56 D. Skrien machine with only 12 machine instructions, no stack, and only direct addressing), and two programs for that machine written in binary machine language. The first program is documented and the second is not. The students are asked to modify the first program to do something slightly different and to figure out what the second machine language program does. The purpose of this prelab assignment is (a) to get the students comfortable with the architecture of the Wombat1 before seeing it in the CPU Sim environment, and (b) to get them to appreciate assembly language by having to program first in binary machine language. 6.2 Introduction to CPU Sim In the first (closed) lab, the students are introduced to CPU Sim and are asked to step through the introductory tutorial given in the CPU Sim user's manual. Then the students are asked to redo the previous prelab assignment using assembly language instead of machine language, and finally run the resulting program in the CPU Sim environment. After this first closed lab, all assignments are open lab assignments. 6.3 Optional Wombat1 Interpreter One option at this point is to ask the students to write a Wombat1 interpreter in their favorite high-level language. The interpreter should take as input a text file containing a Wombat1 machine language program (in 0's and 1's as described above) and should execute that program. This project helps the students understand the Wombat1 better and gives them a feeling for how simulation and interpretation works. 6.4 Introduction to the Wombat2 The next assignment is to write a more complicated assembly language program for the Wombat1 that accesses memory frequently. After a discussion of the costs of accessing memory, students are given the Wombat2, which is similar to the Wombat1 except it has an array of four general-purpose registers and all machine instructions refer to those registers instead of an accumulator. The students are then asked to redo the previous assignment, this time minimizing memory references through efficient use of the four general-purpose registers for holding intermediate results. 6.5 Limitations of Wombat2 The next assignment asks the students to write a program for Wombat2 that reverses an arbitrarily long list of integers. Such a program can easily be written for a CPU with a stack or with instructions with indirect or indexed addressing modes, but the only way the Wombat2 can accomplish this task is with self-modifying code. This exercise not only teaches the students the limitations of a machine with no stack and only direct addressing, but also provides a good starting point for a discussion of the advantages and disadvantages of self-modifying code. 6.6 Wombat3 For the next several assignments, the students are not given any more hypothetical architectures. Instead, they are asked to gradually enhance the Wombat2 themselves, to give it more power. For example, the students are asked to create the Wombat3 from the Wombat2 by adding a stack, a new stack pointer register, and push and pop machine instructions to the Wombat2. They are then asked to redo the previous assignment ACM Journal of Computer Documentation, Vol. 1, No. 4, December 2001.
12 CPU Sim Fig. 9. A simple JVM program. using the stack, to see, by using the new features, how much easier it is to reverse a list of integers. 6.7 Wombat4 The next enhancement, which results in the Wombat4, is to add call and return machine instructions, allowing subroutine calls. Then students are given assignments to write subprograms using value parameters and recursion. The students typically have a little trouble with this assignment since there is still no addressing mode in the Wombat4 other than direct addressing, which means that the only practical way to access the values on the stack is by popping them off first. 6.8 Wombat5 The students are next directed to create Wombat5 by adding indirect, stack-relative, and immediate addressing modes, which allow the proper development and use of stack frames and allow call-by-address parameters in subroutine calls. Students are asked to rewrite previous programs using subroutines that use and maintain stack frames. They are also asked to manipulate arrays on the stack via indirect addressing. Such manipulations might include finding the minimum or sorting the array. 6.9 Wombat6 To make working with arrays even easier, the students can then create the Wombat6 from the Wombat5 by adding an index register and indexed-addressing mode, at which point they can be told to redo the previous array-manipulation assignment using indexed addressing Wombat7 To make the Wombat6 more realistic, the final step in this series of assignments is to add bit operations (and, or, xor, not), and shift operations to form the Wombat7. The ACM Journal of Educational Resources in Computing, Vol. 1, No. 4, December 2001.
13 58 D. Skrien students are then asked to write a program using these new operations to manipulate data stored in binary-coded decimal format JVM1 About two-thirds of the way through the semester, the students are given a simplified version of the Java Virtual Machine (JVM), so that they can get exposure to a CISC-like stack-based architecture. This machine is almost identical to the IJVM discussed in Tanenbaum [1999], except that it contains only 24 machine instructions, none of which allow the user to store values in variables, and so requires all data to be stored on the stack by means of pushing and popping. To get used to this new architecture, the students are asked to write simple programs for the JVM1 and then to write slightly harder programs that require complex stack manipulations due to the lack of variables; see Figure 9 for a simple JVM1 program JVM2 Students are asked to create the JVM2 from the JVM1 by adding three new machine instructions, which allow storing, loading, and incrementing local variables on the stack, and then the students are asked to redo the previous assignment JVM3 The students create JVM3 from JVM2 by adding procedure calls and returns. After adding such instructions, students are asked to write recursive programs, such as a simple factorial program, to test the call and return instructions. This turns out to be a quite difficult assignment if the JVM stack frames follow the layout described in Tanenbaum [1999] JVM4 The final improvement, which leads to the JVM4, is the addition to the JVM3 of instructions that perform the creation of and allow access to arrays in the heap. Students are asked to write a sorting routine for such an array. 7. CPU SIM S LIMITATIONS It would be quite difficult to construct a simulator that engages the students in all the CS-2001 architecture knowledge areas and yet is simple enough for students to use in a CS3 class, and at the same time allows students to construct and test hypothetical CPUs themselves. Hence the author has intentionally left out some important architecture topics from CPU Sim, including: 1. floating point number representations; 2. computer organization below the microcode level, e.g, transistors and gates; 3. issues concerning the speed of execution, including those of pipelining, parallel processing, and the use of caches; 4. interrupts and traps; 5. operating system concepts such as virtual memory and file management; 6. the linking and loading of separate assembly modules. Adding features CPU Sim to address these topics would have made it significantly more complex and so, in the author's view, less pedagogically useful for the intended audience. ACM Journal of Computer Documentation, Vol. 1, No. 4, December 2001.
14 CPU Sim CONCLUSION CPU Sim is a CPU simulation program designed for use with CS3 courses, which allows students to create or modify the architectures being studied. It is an interactive learning environment in which students can create, study, and modify a variety of simple architectures at the register-transfer level. It is a fully-integrated package that includes text editors for writing programs, an assembler, online help, and many debugging tools to help the user easily modify the architectures and then write and execute programs on those architectures. REFERENCES ABBATTISTA, F., DELL'AQUILA, C., PIZZUTILO, S., AND TANGORRA, F An object oriented simulator of computer microarchitectures. In Proceedings of the IASTED International Conference on Modelling and Simulation (Pittsburgh, PA, May). AGREN, O Teaching computer concepts using virtual machines. SIGCSE Bull. 31, 2, IEEE Computer Society/ACM Task Force Year 2001 model curricula for computing. (Aug.). < KERRIDGE, J., AND WILLIS, N A simulator for teaching computer architecture. SIGCSE Bull. 12, 2, SKRIEN, D., AND HOSACK, J A multilevel simulator at the register transfer level for use in an introductory machine organization class. SIGCSE Bull. 23, 1, SKRIEN, D CPU Sim: A computer simulator for use in an introductory computer organization class. J. Comput. Higher Education 6, 1, TANENBAUM, A Structured Computer Organization. 4 th ed., Prentice Hall, Upper Saddle River, NJ. YEHEZKELL, C., YURCIK, W., AND PEARSON, M Teaching computer architecture with a computeraided learning environment: State-of-the-art simulators. In Proceedings of the 2001 International Conference on Simulation and Multimedia in Engineering Education (Phoenix, AZ, Jan.). YURCIK, W., WOLFFE, G., AND HOLLIDAY, M A survey of simulators used in computer organization/architecture courses. In Proceedings of the 2001 Summer Computer Simulation Conference (Orlando, FL, July). Received: November 2001; accepted: February 2002 ACM Journal of Educational Resources in Computing, Vol. 1, No. 4, December 2001.
CPU Sim 3.1: A Tool for Simulating Computer Architectures for CS3 classes
CPU Sim 3.1: A Tool for Simulating Computer Architectures for CS3 classes DALE SKRIEN Colby College CPU Sim 3.1 is an educational software package written in Java for use in CS3 courses. CPU Sim provides
Advanced Computer Architecture-CS501. Computer Systems Design and Architecture 2.1, 2.2, 3.2
Lecture Handout Computer Architecture Lecture No. 2 Reading Material Vincent P. Heuring&Harry F. Jordan Chapter 2,Chapter3 Computer Systems Design and Architecture 2.1, 2.2, 3.2 Summary 1) A taxonomy of
1 Classical Universal Computer 3
Chapter 6: Machine Language and Assembler Christian Jacob 1 Classical Universal Computer 3 1.1 Von Neumann Architecture 3 1.2 CPU and RAM 5 1.3 Arithmetic Logical Unit (ALU) 6 1.4 Arithmetic Logical Unit
TEACHING COMPUTER ARCHITECTURE THROUGH SIMULATION (A BRIEF EVALUATION OF CPU SIMULATORS) *
TEACHING COMPUTER ARCHITECTURE THROUGH SIMULATION (A BRIEF EVALUATION OF CPU SIMULATORS) * Timothy Stanley, PhD Computer and Network Sciences, Utah Valley University, Orem, Utah 84058, 801 863-8978, [email protected]
CHAPTER 7: The CPU and Memory
CHAPTER 7: The CPU and Memory The Architecture of Computer Hardware, Systems Software & Networking: An Information Technology Approach 4th Edition, Irv Englander John Wiley and Sons 2010 PowerPoint slides
PROBLEMS (Cap. 4 - Istruzioni macchina)
98 CHAPTER 2 MACHINE INSTRUCTIONS AND PROGRAMS PROBLEMS (Cap. 4 - Istruzioni macchina) 2.1 Represent the decimal values 5, 2, 14, 10, 26, 19, 51, and 43, as signed, 7-bit numbers in the following binary
ASSEMBLY PROGRAMMING ON A VIRTUAL COMPUTER
ASSEMBLY PROGRAMMING ON A VIRTUAL COMPUTER Pierre A. von Kaenel Mathematics and Computer Science Department Skidmore College Saratoga Springs, NY 12866 (518) 580-5292 [email protected] ABSTRACT This paper
A single register, called the accumulator, stores the. operand before the operation, and stores the result. Add y # add y from memory to the acc
Other architectures Example. Accumulator-based machines A single register, called the accumulator, stores the operand before the operation, and stores the result after the operation. Load x # into acc
Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA) * Instruction set architecture of a machine fills the semantic gap between the user and the machine. * ISA serves as the starting point for the design of a new machine
CPU Organization and Assembly Language
COS 140 Foundations of Computer Science School of Computing and Information Science University of Maine October 2, 2015 Outline 1 2 3 4 5 6 7 8 Homework and announcements Reading: Chapter 12 Homework:
Central Processing Unit (CPU)
Central Processing Unit (CPU) CPU is the heart and brain It interprets and executes machine level instructions Controls data transfer from/to Main Memory (MM) and CPU Detects any errors In the following
CPU Sim USER'S MANUAL
1 CPU Sim USER'S MANUAL Version 3.4 January, 2007 by Dale Skrien assisted by Raymond Mazza III, Joshua Ladieu, Jonathan Weinberg, Andreea Olea, Thomas Cook, Patrick Rodjito, Tim Monahan, Mike Liedtke,
Systems I: Computer Organization and Architecture
Systems I: Computer Organization and Architecture Lecture : Microprogrammed Control Microprogramming The control unit is responsible for initiating the sequence of microoperations that comprise instructions.
İSTANBUL AYDIN UNIVERSITY
İSTANBUL AYDIN UNIVERSITY FACULTY OF ENGİNEERİNG SOFTWARE ENGINEERING THE PROJECT OF THE INSTRUCTION SET COMPUTER ORGANIZATION GÖZDE ARAS B1205.090015 Instructor: Prof. Dr. HASAN HÜSEYİN BALIK DECEMBER
MICROPROCESSOR AND MICROCOMPUTER BASICS
Introduction MICROPROCESSOR AND MICROCOMPUTER BASICS At present there are many types and sizes of computers available. These computers are designed and constructed based on digital and Integrated Circuit
Central Processing Unit Simulation Version v2.5 (July 2005) Charles André University Nice-Sophia Antipolis
Central Processing Unit Simulation Version v2.5 (July 2005) Charles André University Nice-Sophia Antipolis 1 1 Table of Contents 1 Table of Contents... 3 2 Overview... 5 3 Installation... 7 4 The CPU
(Refer Slide Time: 00:01:16 min)
Digital Computer Organization Prof. P. K. Biswas Department of Electronic & Electrical Communication Engineering Indian Institute of Technology, Kharagpur Lecture No. # 04 CPU Design: Tirning & Control
MICROPROCESSOR. Exclusive for IACE Students www.iace.co.in iacehyd.blogspot.in Ph: 9700077455/422 Page 1
MICROPROCESSOR A microprocessor incorporates the functions of a computer s central processing unit (CPU) on a single Integrated (IC), or at most a few integrated circuit. It is a multipurpose, programmable
CPU Organisation and Operation
CPU Organisation and Operation The Fetch-Execute Cycle The operation of the CPU 1 is usually described in terms of the Fetch-Execute cycle. 2 Fetch-Execute Cycle Fetch the Instruction Increment the Program
what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?
Inside the CPU how does the CPU work? what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored? some short, boring programs to illustrate the
Chapter 2 Logic Gates and Introduction to Computer Architecture
Chapter 2 Logic Gates and Introduction to Computer Architecture 2.1 Introduction The basic components of an Integrated Circuit (IC) is logic gates which made of transistors, in digital system there are
Instruction Set Design
Instruction Set Design Instruction Set Architecture: to what purpose? ISA provides the level of abstraction between the software and the hardware One of the most important abstraction in CS It s narrow,
Figure 1: Graphical example of a mergesort 1.
CSE 30321 Computer Architecture I Fall 2011 Lab 02: Procedure Calls in MIPS Assembly Programming and Performance Total Points: 100 points due to its complexity, this lab will weight more heavily in your
150127-Microprocessor & Assembly Language
Chapter 3 Z80 Microprocessor Architecture The Z 80 is one of the most talented 8 bit microprocessors, and many microprocessor-based systems are designed around the Z80. The Z80 microprocessor needs an
Chapter 7D The Java Virtual Machine
This sub chapter discusses another architecture, that of the JVM (Java Virtual Machine). In general, a VM (Virtual Machine) is a hypothetical machine (implemented in either hardware or software) that directly
MACHINE ARCHITECTURE & LANGUAGE
in the name of God the compassionate, the merciful notes on MACHINE ARCHITECTURE & LANGUAGE compiled by Jumong Chap. 9 Microprocessor Fundamentals A system designer should consider a microprocessor-based
Interpreters and virtual machines. Interpreters. Interpreters. Why interpreters? Tree-based interpreters. Text-based interpreters
Interpreters and virtual machines Michel Schinz 2007 03 23 Interpreters Interpreters Why interpreters? An interpreter is a program that executes another program, represented as some kind of data-structure.
Computer Organization and Architecture
Computer Organization and Architecture Chapter 11 Instruction Sets: Addressing Modes and Formats Instruction Set Design One goal of instruction set design is to minimize instruction length Another goal
2) Write in detail the issues in the design of code generator.
COMPUTER SCIENCE AND ENGINEERING VI SEM CSE Principles of Compiler Design Unit-IV Question and answers UNIT IV CODE GENERATION 9 Issues in the design of code generator The target machine Runtime Storage
Chapter 5 Instructor's Manual
The Essentials of Computer Organization and Architecture Linda Null and Julia Lobur Jones and Bartlett Publishers, 2003 Chapter 5 Instructor's Manual Chapter Objectives Chapter 5, A Closer Look at Instruction
Faculty of Engineering Student Number:
Philadelphia University Student Name: Faculty of Engineering Student Number: Dept. of Computer Engineering Final Exam, First Semester: 2012/2013 Course Title: Microprocessors Date: 17/01//2013 Course No:
GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT. COURSE CURRICULUM COURSE TITLE: COMPUTER ORGANIZATION AND ARCHITECTURE (Code: 3340705)
GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT COURSE CURRICULUM COURSE TITLE: COMPUTER ORGANIZATION AND ARCHITECTURE (Code: 3340705) Diploma Programmes in which this course is offered Computer Engineering
Instruction Set Architecture
Instruction Set Architecture Consider x := y+z. (x, y, z are memory variables) 1-address instructions 2-address instructions LOAD y (r :=y) ADD y,z (y := y+z) ADD z (r:=r+z) MOVE x,y (x := y) STORE x (x:=r)
Levels of Programming Languages. Gerald Penn CSC 324
Levels of Programming Languages Gerald Penn CSC 324 Levels of Programming Language Microcode Machine code Assembly Language Low-level Programming Language High-level Programming Language Levels of Programming
Comp 255Q - 1M: Computer Organization Lab #3 - Machine Language Programs for the PDP-8
Comp 255Q - 1M: Computer Organization Lab #3 - Machine Language Programs for the PDP-8 January 22, 2013 Name: Grade /10 Introduction: In this lab you will write, test, and execute a number of simple PDP-8
EE361: Digital Computer Organization Course Syllabus
EE361: Digital Computer Organization Course Syllabus Dr. Mohammad H. Awedh Spring 2014 Course Objectives Simply, a computer is a set of components (Processor, Memory and Storage, Input/Output Devices)
Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language
Chapter 4 Register Transfer and Microoperations Section 4.1 Register Transfer Language Digital systems are composed of modules that are constructed from digital components, such as registers, decoders,
Instruction Set Architecture. or How to talk to computers if you aren t in Star Trek
Instruction Set Architecture or How to talk to computers if you aren t in Star Trek The Instruction Set Architecture Application Compiler Instr. Set Proc. Operating System I/O system Instruction Set Architecture
An Overview of Stack Architecture and the PSC 1000 Microprocessor
An Overview of Stack Architecture and the PSC 1000 Microprocessor Introduction A stack is an important data handling structure used in computing. Specifically, a stack is a dynamic set of elements in which
Two's Complement Adder/Subtractor Lab L03
Two's Complement Adder/Subtractor Lab L03 Introduction Computers are usually designed to perform indirect subtraction instead of direct subtraction. Adding -B to A is equivalent to subtracting B from A,
Chapter 4 Lecture 5 The Microarchitecture Level Integer JAVA Virtual Machine
Chapter 4 Lecture 5 The Microarchitecture Level Integer JAVA Virtual Machine This is a limited version of a hardware implementation to execute the JAVA programming language. 1 of 23 Structured Computer
Graded ARM assembly language Examples
Graded ARM assembly language Examples These examples have been created to help students with the basics of Keil s ARM development system. I am providing a series of examples that demonstrate the ARM s
Administrative Issues
CSC 3210 Computer Organization and Programming Introduction and Overview Dr. Anu Bourgeois (modified by Yuan Long) Administrative Issues Required Prerequisites CSc 2010 Intro to CSc CSc 2310 Java Programming
1 Description of The Simpletron
Simulating The Simpletron Computer 50 points 1 Description of The Simpletron In this assignment you will write a program to simulate a fictional computer that we will call the Simpletron. As its name implies
CHAPTER 4 MARIE: An Introduction to a Simple Computer
CHAPTER 4 MARIE: An Introduction to a Simple Computer 4.1 Introduction 195 4.2 CPU Basics and Organization 195 4.2.1 The Registers 196 4.2.2 The ALU 197 4.2.3 The Control Unit 197 4.3 The Bus 197 4.4 Clocks
a storage location directly on the CPU, used for temporary storage of small amounts of data during processing.
CS143 Handout 18 Summer 2008 30 July, 2008 Processor Architectures Handout written by Maggie Johnson and revised by Julie Zelenski. Architecture Vocabulary Let s review a few relevant hardware definitions:
THREE YEAR DEGREE (HONS.) COURSE BACHELOR OF COMPUTER APPLICATION (BCA) First Year Paper I Computer Fundamentals
THREE YEAR DEGREE (HONS.) COURSE BACHELOR OF COMPUTER APPLICATION (BCA) First Year Paper I Computer Fundamentals Full Marks 100 (Theory 75, Practical 25) Introduction to Computers :- What is Computer?
8085 INSTRUCTION SET
DATA TRANSFER INSTRUCTIONS Opcode Operand Description 8085 INSTRUCTION SET INSTRUCTION DETAILS Copy from source to destination OV Rd, Rs This instruction copies the contents of the source, Rs register
Computer Science 281 Binary and Hexadecimal Review
Computer Science 281 Binary and Hexadecimal Review 1 The Binary Number System Computers store everything, both instructions and data, by using many, many transistors, each of which can be in one of two
Exception and Interrupt Handling in ARM
Exception and Interrupt Handling in ARM Architectures and Design Methods for Embedded Systems Summer Semester 2006 Author: Ahmed Fathy Mohammed Abdelrazek Advisor: Dominik Lücke Abstract We discuss exceptions
An Introduction to Computer Science and Computer Organization Comp 150 Fall 2008
An Introduction to Computer Science and Computer Organization Comp 150 Fall 2008 Computer Science the study of algorithms, including Their formal and mathematical properties Their hardware realizations
B.Sc.(Computer Science) and. B.Sc.(IT) Effective From July 2011
NEW Detailed Syllabus of B.Sc.(Computer Science) and B.Sc.(IT) Effective From July 2011 SEMESTER SYSTEM Scheme & Syllabus for B.Sc. (CS) Pass and Hons. Course Effective from July 2011 and onwards CLASS
Computer Organization
Computer Organization and Architecture Designing for Performance Ninth Edition William Stallings International Edition contributions by R. Mohan National Institute of Technology, Tiruchirappalli PEARSON
Chapter 5, The Instruction Set Architecture Level
Chapter 5, The Instruction Set Architecture Level 5.1 Overview Of The ISA Level 5.2 Data Types 5.3 Instruction Formats 5.4 Addressing 5.5 Instruction Types 5.6 Flow Of Control 5.7 A Detailed Example: The
CS101 Lecture 26: Low Level Programming. John Magee 30 July 2013 Some material copyright Jones and Bartlett. Overview/Questions
CS101 Lecture 26: Low Level Programming John Magee 30 July 2013 Some material copyright Jones and Bartlett 1 Overview/Questions What did we do last time? How can we control the computer s circuits? How
Introduction. What is an Operating System?
Introduction What is an Operating System? 1 What is an Operating System? 2 Why is an Operating System Needed? 3 How Did They Develop? Historical Approach Affect of Architecture 4 Efficient Utilization
Use of Simulator in Teaching Introductory Computer Engineering*
Int. J. Engng Ed. Vol. 15, No. 5, pp. 353±357, 1999 0949-149X/91 $3.00+0.00 Printed in Great Britain. # 1999 TEMPUS Publications. Use of Simulator in Teaching Introductory Computer Engineering* DAVID EDWARDS
The programming language C. sws1 1
The programming language C sws1 1 The programming language C invented by Dennis Ritchie in early 1970s who used it to write the first Hello World program C was used to write UNIX Standardised as K&C (Kernighan
Computer System: User s View. Computer System Components: High Level View. Input. Output. Computer. Computer System: Motherboard Level
System: User s View System Components: High Level View Input Output 1 System: Motherboard Level 2 Components: Interconnection I/O MEMORY 3 4 Organization Registers ALU CU 5 6 1 Input/Output I/O MEMORY
LSN 2 Computer Processors
LSN 2 Computer Processors Department of Engineering Technology LSN 2 Computer Processors Microprocessors Design Instruction set Processor organization Processor performance Bandwidth Clock speed LSN 2
CSC 2405: Computer Systems II
CSC 2405: Computer Systems II Spring 2013 (TR 8:30-9:45 in G86) Mirela Damian http://www.csc.villanova.edu/~mdamian/csc2405/ Introductions Mirela Damian Room 167A in the Mendel Science Building [email protected]
Summary of the MARIE Assembly Language
Supplement for Assignment # (sections.8 -. of the textbook) Summary of the MARIE Assembly Language Type of Instructions Arithmetic Data Transfer I/O Branch Subroutine call and return Mnemonic ADD X SUBT
The WIMP51: A Simple Processor and Visualization Tool to Introduce Undergraduates to Computer Organization
The WIMP51: A Simple Processor and Visualization Tool to Introduce Undergraduates to Computer Organization David Sullins, Dr. Hardy Pottinger, Dr. Daryl Beetner University of Missouri Rolla Session I.
Assessment Plan for CS and CIS Degree Programs Computer Science Dept. Texas A&M University - Commerce
Assessment Plan for CS and CIS Degree Programs Computer Science Dept. Texas A&M University - Commerce Program Objective #1 (PO1):Students will be able to demonstrate a broad knowledge of Computer Science
2010-2011 Assessment for Master s Degree Program Fall 2010 - Spring 2011 Computer Science Dept. Texas A&M University - Commerce
2010-2011 Assessment for Master s Degree Program Fall 2010 - Spring 2011 Computer Science Dept. Texas A&M University - Commerce Program Objective #1 (PO1):Students will be able to demonstrate a broad knowledge
Overview. CISC Developments. RISC Designs. CISC Designs. VAX: Addressing Modes. Digital VAX
Overview CISC Developments Over Twenty Years Classic CISC design: Digital VAX VAXÕs RISC successor: PRISM/Alpha IntelÕs ubiquitous 80x86 architecture Ð 8086 through the Pentium Pro (P6) RJS 2/3/97 Philosophy
Lab Experience 17. Programming Language Translation
Lab Experience 17 Programming Language Translation Objectives Gain insight into the translation process for converting one virtual machine to another See the process by which an assembler translates assembly
The string of digits 101101 in the binary number system represents the quantity
Data Representation Section 3.1 Data Types Registers contain either data or control information Control information is a bit or group of bits used to specify the sequence of command signals needed for
Programming A PLC. Standard Instructions
Programming A PLC STEP 7-Micro/WIN32 is the program software used with the S7-2 PLC to create the PLC operating program. STEP 7 consists of a number of instructions that must be arranged in a logical order
Processor Architectures
ECPE 170 Jeff Shafer University of the Pacific Processor Architectures 2 Schedule Exam 3 Tuesday, December 6 th Caches Virtual Memory Input / Output OperaKng Systems Compilers & Assemblers Processor Architecture
MACHINE INSTRUCTIONS AND PROGRAMS
CHAPTER 2 MACHINE INSTRUCTIONS AND PROGRAMS CHAPTER OBJECTIVES In this chapter you will learn about: Machine instructions and program execution, including branching and subroutine call and return operations
10CS35: Data Structures Using C
CS35: Data Structures Using C QUESTION BANK REVIEW OF STRUCTURES AND POINTERS, INTRODUCTION TO SPECIAL FEATURES OF C OBJECTIVE: Learn : Usage of structures, unions - a conventional tool for handling a
PART B QUESTIONS AND ANSWERS UNIT I
PART B QUESTIONS AND ANSWERS UNIT I 1. Explain the architecture of 8085 microprocessor? Logic pin out of 8085 microprocessor Address bus: unidirectional bus, used as high order bus Data bus: bi-directional
How It All Works. Other M68000 Updates. Basic Control Signals. Basic Control Signals
CPU Architectures Motorola 68000 Several CPU architectures exist currently: Motorola Intel AMD (Advanced Micro Devices) PowerPC Pick one to study; others will be variations on this. Arbitrary pick: Motorola
2011, The McGraw-Hill Companies, Inc. Chapter 3
Chapter 3 3.1 Decimal System The radix or base of a number system determines the total number of different symbols or digits used by that system. The decimal system has a base of 10 with the digits 0 through
CHAPTER 3 Boolean Algebra and Digital Logic
CHAPTER 3 Boolean Algebra and Digital Logic 3.1 Introduction 121 3.2 Boolean Algebra 122 3.2.1 Boolean Expressions 123 3.2.2 Boolean Identities 124 3.2.3 Simplification of Boolean Expressions 126 3.2.4
Microcontroller Basics A microcontroller is a small, low-cost computer-on-a-chip which usually includes:
Microcontroller Basics A microcontroller is a small, low-cost computer-on-a-chip which usually includes: An 8 or 16 bit microprocessor (CPU). A small amount of RAM. Programmable ROM and/or flash memory.
Digital Electronics Detailed Outline
Digital Electronics Detailed Outline Unit 1: Fundamentals of Analog and Digital Electronics (32 Total Days) Lesson 1.1: Foundations and the Board Game Counter (9 days) 1. Safety is an important concept
Chapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan
Chapter 2 Basic Structure of Computers Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan Outline Functional Units Basic Operational Concepts Bus Structures Software
Embedded Systems. Review of ANSI C Topics. A Review of ANSI C and Considerations for Embedded C Programming. Basic features of C
Embedded Systems A Review of ANSI C and Considerations for Embedded C Programming Dr. Jeff Jackson Lecture 2-1 Review of ANSI C Topics Basic features of C C fundamentals Basic data types Expressions Selection
18-447 Computer Architecture Lecture 3: ISA Tradeoffs. Prof. Onur Mutlu Carnegie Mellon University Spring 2013, 1/18/2013
18-447 Computer Architecture Lecture 3: ISA Tradeoffs Prof. Onur Mutlu Carnegie Mellon University Spring 2013, 1/18/2013 Reminder: Homeworks for Next Two Weeks Homework 0 Due next Wednesday (Jan 23), right
Exceptions in MIPS. know the exception mechanism in MIPS be able to write a simple exception handler for a MIPS machine
7 Objectives After completing this lab you will: know the exception mechanism in MIPS be able to write a simple exception handler for a MIPS machine Introduction Branches and jumps provide ways to change
Traditional IBM Mainframe Operating Principles
C H A P T E R 1 7 Traditional IBM Mainframe Operating Principles WHEN YOU FINISH READING THIS CHAPTER YOU SHOULD BE ABLE TO: Distinguish between an absolute address and a relative address. Briefly explain
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC6504 - Microprocessor & Microcontroller Year/Sem : II/IV
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC6504 - Microprocessor & Microcontroller Year/Sem : II/IV UNIT I THE 8086 MICROPROCESSOR 1. What is the purpose of segment registers
AQA GCSE in Computer Science Computer Science Microsoft IT Academy Mapping
AQA GCSE in Computer Science Computer Science Microsoft IT Academy Mapping 3.1.1 Constants, variables and data types Understand what is mean by terms data and information Be able to describe the difference
1 The Java Virtual Machine
1 The Java Virtual Machine About the Spec Format This document describes the Java virtual machine and the instruction set. In this introduction, each component of the machine is briefly described. This
Notes on Assembly Language
Notes on Assembly Language Brief introduction to assembly programming The main components of a computer that take part in the execution of a program written in assembly code are the following: A set of
Lifting the Hood of the Computer: * Program Animation with the Teaching Machine
Lifting the Hood of the Computer: * Program Animation with the Teaching Machine Michael P. Bruce-Lockhart and Theodore S. Norvell Electrical and Computer Engineering Faculty of Engineering and Applied
COWLEY COLLEGE & Area Vocational Technical School
COWLEY COLLEGE & Area Vocational Technical School COURSE PROCEDURE FOR COBOL PROGRAMMING CIS1866 3 Credit Hours Student Level: This course is open to students on the college level in either Freshman or
SIM-PL: Software for teaching computer hardware at secondary schools in the Netherlands
SIM-PL: Software for teaching computer hardware at secondary schools in the Netherlands Ben Bruidegom, [email protected] AMSTEL Instituut Universiteit van Amsterdam Kruislaan 404 NL-1098 SM Amsterdam
1. Convert the following base 10 numbers into 8-bit 2 s complement notation 0, -1, -12
C5 Solutions 1. Convert the following base 10 numbers into 8-bit 2 s complement notation 0, -1, -12 To Compute 0 0 = 00000000 To Compute 1 Step 1. Convert 1 to binary 00000001 Step 2. Flip the bits 11111110
Programming Logic controllers
Programming Logic controllers Programmable Logic Controller (PLC) is a microprocessor based system that uses programmable memory to store instructions and implement functions such as logic, sequencing,
Topics. Introduction. Java History CS 146. Introduction to Programming and Algorithms Module 1. Module Objectives
Introduction to Programming and Algorithms Module 1 CS 146 Sam Houston State University Dr. Tim McGuire Module Objectives To understand: the necessity of programming, differences between hardware and software,
Chapter 6, The Operating System Machine Level
Chapter 6, The Operating System Machine Level 6.1 Virtual Memory 6.2 Virtual I/O Instructions 6.3 Virtual Instructions For Parallel Processing 6.4 Example Operating Systems 6.5 Summary Virtual Memory General
UNIVERSITY OF CALIFORNIA, DAVIS Department of Electrical and Computer Engineering. EEC180B Lab 7: MISP Processor Design Spring 1995
UNIVERSITY OF CALIFORNIA, DAVIS Department of Electrical and Computer Engineering EEC180B Lab 7: MISP Processor Design Spring 1995 Objective: In this lab, you will complete the design of the MISP processor,
ASSEMBLY LANGUAGE PROGRAMMING (6800) (R. Horvath, Introduction to Microprocessors, Chapter 6)
ASSEMBLY LANGUAGE PROGRAMMING (6800) (R. Horvath, Introduction to Microprocessors, Chapter 6) 1 COMPUTER LANGUAGES In order for a computer to be able to execute a program, the program must first be present
Computer Science. Computer Science 213. Faculty and Offices. Degrees and Certificates Awarded. AS Computer Science Degree Requirements
Computer Science 213 Computer Science (See Computer Information Systems section for additional computer courses.) Degrees and Certificates Awarded Associate in Science Degree, Computer Science Certificate
The AVR Microcontroller and C Compiler Co-Design Dr. Gaute Myklebust ATMEL Corporation ATMEL Development Center, Trondheim, Norway
The AVR Microcontroller and C Compiler Co-Design Dr. Gaute Myklebust ATMEL Corporation ATMEL Development Center, Trondheim, Norway Abstract High Level Languages (HLLs) are rapidly becoming the standard
