l2_handouts_2up - ECE 3140/CS 3420 Computer Organization...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
1 ECE 3140/CS 3420 Computer Organization Spring 2009 MIPS Programming ECE3140/CS3420 Announcements • Homework 1 will be posted soon – It will be due Tue., Feb 3 at 10:00pm – Don’t wait until the last minute to post to CMS Don t wait until the last minute to post to CMS! • Project 1 will be posted soon – It will be due Tue., Feb 10 at 10:00pm – Don’t wait until the last minute to post to CMS! • Sections start this week ! – Some of you in the Tues 2:55pm and Thur 2:55pm ECE3140/CS3420 section may want to consider the Tues 3:35pm or Fri 2:55pm section instead! 2
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 Office Hours Name Day Time Place Elias Bermudez Wed 6:30-7:30pm Phillips 314 Major Bhadauria TBD TBD TBD David Drew Tue 5:30-6:30pm Phillips 314 Richard Hough Thur 4:30-6:30pm Upson 368 Douglas Long Tue, Thur 2:45-3:45pm Phillips 204 Amit Penmetcha Tue 7:00-8:00pm Phillips 314 Paula Petrica Mon 5:30-7:30pm Upson 365 Cat Trammell Wed 1:30-3:30pm Upson 368 ECE3140/CS3420 Han Wang Fri 1:00-3:00pm Phillips 115 3 Hennessy and Patterson • Read Chapter 1 – 1.1-1.9 • Read Chapter 2 Read Chapter 2 – 2.1 through 2.7 – 2.8 through 2.14 – Skim B.1,B.2, B.10 • Read (for Next Thursday) – Appendix B.6 – Skim B.3 through B.5 ECE3140/CS3420 – 3.1 through 3.2 – MIPS Calling Convention Document (website) 4
Background image of page 2
3 MIPS Non-Instructions • Some other useful instructions li rd , const # rd = const la rd , addr # rd = addr d # d move rd , rs # rd = rs not rd , rs # rd =NOT rs nop # no operation b addr # PC = addr beqz rs , addr # if( rs == 0 ) PC = addr bnez rs , addr # if( rs != 0 ) PC = addr bge rs , rt, addr # if( rs >= rt ) PC = addr bgt rs , rt, addr # if( rs > rt ) PC = addr ECE3140/CS3420 • Known as pseudo-instructions – Replaced by assembler with 1 or 2 real instructions – Designers shifted these operations form hardware to software
Background image of page 3

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

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 12

l2_handouts_2up - ECE 3140/CS 3420 Computer Organization...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online