UCSC CMPE 012 - Computing Systems and Assembly Language Programming

Unformatted text preview:

CMPE012 – Computer Engineering 12 (and Lab)Computing Systems andAssembly Language Programming Fall 2009CMPE12 – Fall 2009 00-2About these notes Originally by Cyrus Bazeghi (me) Overhauled by Andrea Di Blas Modified by Alexandra Holloway And LeonCMPE12 – Fall 2009 00-3The team Instructor: Cyrus Bazeghi E-mail: [email protected] TA: Jared Mednick E-mail: [email protected] TA: Erick Castillo E-mail: [email protected] Classes meet here, Merrill 102  Labs meet in BE 104CMPE12 – Fall 2009 00-4Our online presenceOur online presence… On the Web http://www.soe.ucsc.edu/classes/cmpe012/Fall09 Forum http://forums.soe.ucsc.eduCMPE12 – Fall 2009 00-5Fall deadlinesFinal ExaminationThursday, December 10th7:30pm to 10:30pmExaminations•Thursday, October 22nd•Tuesday, November 24thCMPE12 – Fall 2009 00-6What we will cover in this class Part 1: Introduction to Logic Design Logic Gates and Functions (Ch 3) Integer Number Representation (Ch 2) Computing Systems & Abstraction (Ch 1)CMPE12 – Fall 2009 00-7What we will cover in this classPart 2: The LC-3 computer system LC-3 Architecture (Ch 4) LC-3 Instruction Set Architecture (Ch 5) LC-3 Machine Language Programming (Ch 6) LC-3 Assembly Language Programming (Ch 7) LC-3 Input and Output (Ch 8) LC-3 TRAPS and subroutines (Ch 9) LC-3 Stack (Ch 10)CMPE12 – Fall 2009 00-8Part 3: The 68HC11 microcontroller (not in book) Microcontrollers and embedded systems  HC11 microcontroller HC11 assembly HC11 I/O and interruptsPart 4: Fractional numbers Fixed and floating-point numbers and arithmeticWhat we will cover in this classCMPE12 – Fall 2009 00-9What we will NOT cover in this classPart 5: The C programming language Intro to the C programming language (Ch 11) C variables (Ch 12) C control structures (Ch 13) C functions (Ch 14) C pointers and arrays (Ch 15, 16) C recursive functions (Ch 17) BUT we will use C as our reference high-level programming language, with examples throughoutAll part of CE13which I will teach in the springCMPE12 – Fall 2009 00-10Extended course description Required skills to pass the course.1. Number representations, includinga. arbitrary base conversion b. binary, hex, decimal, 2’s Cc. bitwise operators d. Binary fixed point numberse. single-precision floating-point format2. Binary Arithmetic, includinga. Signed magnitude add/sub b. Unsigned add/sub/mulc. Two's compliment add/sub/mul d. IEEE floating point add/sub/mul3. Computing Systemsa. Basic logic gates (and, or, not, xor)b. Determining the function of simple combinational circuitsc. Adder and mux logic blocks4. Assembly language programminga. Arithmetic and bitwise operations b. Procedure calls c. Stack & memory operations d. Assembly implementation of C control structures5. An understanding of acceptable and unacceptable collaboration, the needto ensure permission to collaborate in a class, and an automatic urge to acknowledge collaborators and others who have assisted in a project.CMPE12 – Fall 2009 00-11Extended course descriptionCore topics:1. Assembly language programming including a. Arithmetic and bitwise operations b. Arrays, stacks, c. Procedure calls d. Addressing modese. Both CISC and RISC architectures2. An understanding of basic computing systems including a. Basic logic gates and/or/xor/not b. Basic logic blocks (adder, mux)c. Registers, memory, CPU, I/O d. Steps to execute an instructione. data structures3 Binary arithmetica. Signed magnitude add/sub b. Unsigned add/sub/mul/divb. Two's compliment add/sub/mul c. Floating point add/sub/mul4. Number representations, includinga. Arbitrary base conversion b. Binary, hex, decimal, 2s Cc. Bitwise operators d. Binary fixed point numberse. Arbitrary bases (e.g., 3, 60) f. Biased representationg. IEEE Floating point format5. An understanding of basic system software including a. Assembly and compilation b. Loading and linking c. The basic functions of the operating system 6. Interrupts and I/Oa. Causes of interrupts b. Interrupt service routines c. Memory mapped I/OCMPE12 – Fall 2009 00-12The textbookPatt, PatelIntroduction to Computing Systems:From Bits and Gates to C and BeyondMcGraw-Hill, Second Ed.CMPE12 – Fall 2009 00-13Course work Class (CMPE12) Requirements Attending lectures is highly recommended Doing the weekly homework Posted online, collected in class on Thursdays Must be hand written, no computer printouts, no copies, must be your OWN work Lab (CMPE12L) Requirements Going to your lab section meetings Weekly lab assignments Posted online, submitted onlineCMPE12 – Fall 2009 00-14Lab work Part 1: Logic design with Multimedia Logic Simulated logic gates Part 2: Programming assignments in LC-3 Simulated architecture Part 3: Programming assignments in HC11 Real hardware kitCMPE12 – Fall 2009 00-15Lab rules Each lab assignment consists of two things Lab work (code, design file, etc.) Lab write-up Lab assignment score = code + write-up Assignments are turned in using the UNIX submitcommand Must submit both the lab code and the write-up Make sure to make the deadline, since even 1 second late will stamp your assignment as…LATECMPE12 – Fall 2009 00-16Lab rules On time labs Eligible for 100% of points, including extra credit Eligible for 100% of points on the write-up Late labs Lose all extra credit Every week late, max score decreases by 25% Ex: Lab worth 20 points + 5 extra credit + 12 write-up 1 late week: 0 extra credit, max points are 15 and 9 2 late weeks: 0 extra credit, max points are 10 and 6 3 late weeks: 0 extra credit, max points are 5 and 3 4 late weeks: 0 extra credit, max points are 0 and 0 Never turned in: -1 and -1CMPE12 – Fall 2009 00-17Done early? Get a check-off Go through the grading checklist in lab with your TA/tutor in person Lock in your score with your TA/tutor Your tutor only Do the write-up Submit the lab assignment by the deadline Both the lab file(s) and the write-up file Submission into the locker is what really counts No difference in grading between in-person check-off and normal grading with file submission Only the submitted files will be considered “official,” regardless of what you showed in classCMPE12 –


View Full Document

UCSC CMPE 012 - Computing Systems and Assembly Language Programming

Download Computing Systems and Assembly Language Programming
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Computing Systems and Assembly Language Programming and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Computing Systems and Assembly Language Programming 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?