07ProgrammingLanguages

07ProgrammingLanguages - Programming Languages Comp106...

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

View Full Document Right Arrow Icon
Programming Languages Comp106 Programming Languages • Two categories: – Low Level – High Level
Background image of page 1

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

View Full DocumentRight Arrow Icon
Low Level Languages • At the lowest level, there’s machine code. • Written in binary – e.g. 10110000 01100001 • Too hard for humans • Assembly is easier – mov al, 0x61 • Convert assembly to machine code using a program call the Assembler. Where is it used? • Operating Systems – Device drivers • Embedded Systems – Can you think of some examples of embedded systems? • BIOS (Basic Input/Output System)
Background image of page 2
Executing Machine Code • stage 1: fetch the code • stage 2: decode the code • stage 3: execute the code • stage 4: collect and summarize the results • stage 5: save the results http://www.course.com/downloads/computers cience/aeonline/6/1/index.html High Level Language • Why? – Assembly is really hard to use to solve big problems – Need a way to “ignore” the machine details, and focus on solving real problems
Background image of page 3

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

View Full DocumentRight Arrow Icon
Different High Level Languages • C (sometimes considered a low level language)
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/16/2010 for the course COMP 106 taught by Professor Jasonmadar during the Fall '07 term at Capilano.

Page1 / 5

07ProgrammingLanguages - Programming Languages Comp106...

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

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