{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lecture2

# lecture2 - Announcements Sections start THIS week Dont miss...

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

1 ECE/CS314 Announcements Sections start THIS week Don’t miss them! They’re important! • First project available today (we won’t have covered all the material you need to finish, but you’ll be able to get started) –Due in two weeks! • First homework available today –Due in one week! 2 ECE/CS314 Announcements •G o t CMS ? – If you are not enrolled, post to the newsgroup – CMS link on web site http://cms3.csuglab.cornell.edu/web/guest/ • TA Office Hours start today – Schedule on web site • Reminder! Post questions to the newsgroups – Email for anything confidential • Prof McKee’s Office Hours W 3:00-4:00 • Prof Long’s Office Hours TR 3:00-4:00 3 ECE/CS314 Hennessy and Patterson • Read Chapter 1 to get the Big Picture (DONE) • Read Chapter 2 – 2.1 through 2.9 plus 3.1, 3.2 (DONE, RIGHT?) – 2.10 through 2.15 plus 2.17 for Thursday • Read Chapter 3 – 3.3-3.6 and 3.8-3.9 before February 6 • Read supplemental docs we give you – “Notes on Programming in C” (http://www.csl.cornell.edu/courses/ece314/tutorials/pike_C.html) – “MIPS Calling Convention” for Thursday – DO THE READING! 4 ECE/CS314 Yesterday’s Topic

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

View Full Document
5 ECE/CS314 Converting between Data Sizes • Sign extension • Replicate leftmost bit • Why does this work? –Consider going from 8 to 16 bits: –If number is –b , then it’s 2 8 - b but now we want 2 16 - b 2 16 - b = (2 8 - b) + (2 16 -2 8) 2 16 -2 8 = 10000000000000000-100000000 (note that we’re subtracting 9-bits from 17-bits) =1111111100000000 Same as prepending 1s to get correct number of bits 6 ECE/CS314 Today’s Topic • MIPS ISA – load/store architecture (no arithmetic ops have memory operands)
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 9

lecture2 - Announcements Sections start THIS week Dont miss...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online