{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lecture6 - Announcements Homework 2 due next Tuesday(see...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1 ECE/CS 314 Announcements Homework 2 due next Tuesday (see website) Put your NAME on things you turn in chmod ug+rwxs in your group work dir (if you haven’t) Homework 1 solution is online; Homework 2 posted Project 2 posted, due 2/26 (ask questions early, and talk to each other! We have great ways to check for blatant copying [even if you change variable names], but I’m advocating DISCUSSION, not plagiarism) Reminder: submit questions to newsgroup FIRST (or ask in Section or TA/Consulting hours) IMPORTANT: read newsgroup before you post! READ THE WEB PAGE FOR CONSULTING HOURS ECE/CS 314 Asking/Answering Questions in Class I LOVE it! Please speak up! Please raise your hand, so I can call on people in back, too Don’t be afraid to speak up – Usually more than one “right” answer – Sometimes “wrong” answers lead to better discussion, so you may make a bigger contribution by revealing where you’re confused (and if you’re confused, so is someone else!) ECE/CS 314 Hennessy and Patterson Read Chapter 2 2.1 through 2.9 plus 3.1, 3.2 (DONE) 2.10 through 2.15 plus 2.17 (DONE) Read Chapter 3 and 4 3.3-3.6 and 3.8-3.9 (DONE) 4.1-4.6 for next Tuesday Read supplemental docs we give you “Notes on Programming in C” “MIPS Calling Convention” (DONE [or you’re dead]) Read CD “For More Practice” for Chapters 2 & 3 (2.20 & 3.11) good for prelim study Read Appendix A.10 on CD (DONE) Read Appendix A.1-A-5 for this Thursday ECE/CS 314 Why H&P? • Interviewers love the book You must at least SKIM enough to be able to speak intelligently about it I don’t like the focus on performance numbers and the inconsistency in asm examples (but they’re rich; I’m not) Book contains good info (and good history – also useful w/ potential employers!), so don’t discount it We don’t test you on it explicitly, but it’s more important for your life than your grade in this class
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
2 ECE/CS 314 Quick Reality Check: Big Picture ECE 314 operating systems I/O memory datapaths & pipelining ALU design & arithmetic digital logic Machine behavior & performance MIPS assembly programming ISA design Here’s where we are in the course These are the hardest parts ECE/CS 314 High Level View of Programming main() { int a, *b, c; c = a + *b; } .text .ent main .global main main: lw $t0,0($a0) addiu $t3 , $t3,$t0 0x7456… 0xA16B… (just examples, not real xlation) C program Assembly code Machine code (not quite executable) Compile Assemble Next: assemblers and linkers, then on to performance ECE/CS 314 Note on MIPS Programming You don’t put an instruction in branch delay slot Assembler does it for you You need to know about delay slot for later, when you implement MIPS functionality (Project 2) You need to know about delay slot for exams ECE/CS 314 Why Study ISA Design?
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern