COMPUTER ORG ECE 15B
Popular in Course
REL 10200 4
verified elite notetaker
Popular in ELECTRICAL AND COMPUTER ENGINEERING
This 2 page Class Notes was uploaded by Spencer Ondricka on Thursday October 22, 2015. The Class Notes belongs to ECE 15B at University of California Santa Barbara taught by Ra Singh in Fall. Since its upload, it has received 47 views. For similar materials see /class/227034/ece-15b-university-of-california-santa-barbara in ELECTRICAL AND COMPUTER ENGINEERING at University of California Santa Barbara.
Reviews for COMPUTER ORG
Report this Material
What is Karma?
Karma is the currency of StudySoup.
You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!
Date Created: 10/22/15
Announcements ECE ISB COMPUTER ORGANIZATION Project 2 Due May 29 at 5 PM 0 Submit via email Project 3 Due June 5 5pm Submit via email Homework 4 Due June 5 5pm In box on 3rd Floor HFH 2erfb n9Unking andLoadingl H Univevsuvoicenowe Sgrzlgaubg May 28 2009 Language Continuum Interpretation vs Translation Scheme Java bytecode I Java How do we run a program written in a source C C Assembly machine language language gt Interpreter East1 Program Efficient Directly executes a program in the source language Inefficient to interpret Difficult to program Translator Converts a program from the source language to an In general we interpret a high level language if eqUiValent Program in another language efficiency is not critical or translated to a lower level language to improve performance Lecture 39 quot g 3 my mu 2 Lecture 39 quot m e A mhli 39 39 39 7 C quot genie aemee WV 28 2009 Assembling Linking and Loading C University of cenmnie Santa Ea bale MEV 48 2009 Interpretation Translation C Compiler is a translator from C to machine language LactLre 16 Exacunng Programs Compiling r Eecmullmi Cum m a mug the May 23 2mg Aaszmhrng mmg and Loading I 39 istyat Cstiturma Santa minis Interpretation 39 Any good reason to interpret machine language in software SPIM useful for learning Idebugging Apple Macintosh conversion Switched from Motorola 680x0 instruction architecture to PowerPC Could require all programs to be retranslated from high level language Instead let executables contain old andor new machine code interpret old code in software if necessary Interpretation vs Translation May 28 2mm tenure ts Executing Programs Comprrmg Eecmul mom mm Aiszmhrng Linorigami Loading I 39 University at swam Santa mm Easierto write interpreter Interpreter closer to highlevel Gives better error messages eg SPIM Translator reaction add extra information to help debugging line numbers names Interpreter slower 10x but code is smaller 15X to 2X Interpreter provides instruction set independence Run on any machine HP switched to VLIWprocessor Instead of retranslating all SW let executables contain old andor new machine code Interpret old code in software if necessary Lecture 16 Execumvg Programs Compiling Mammulum GuruIna Bl lnu lnn my a 2 Aaszmhrng mengandLoadrngl ersrymoum am mm M y a 2mm
Are you sure you want to buy this material for
You're already Subscribed!
Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'