csc324 - Principles of Programming Languages Lecture 1 Wael...

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

View Full Document Right Arrow Icon
Principles of Programming Languages Lecture 1 Wael Aboulsaadat [email protected] http://portal.utoronto.ca/
Background image of page 1

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

View Full Document Right Arrow Icon
Today Administrivia History of Programming Languages! Programming Languages Paradigms
Background image of page 2
Administrivia Class web site: – http://portal.utoronto.ca/ – Course information sheet, grading, important dates, remark requests, discussion board, assignment submission, announcements,… Three programming assignments (50%) Midterm on March 2 nd (15%) and final worth 35%
Background image of page 3

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

View Full Document Right Arrow Icon
Course Contents Programming Language Varieties - Logic Programming (Prolog) - Imperative Programming (Javascript) - Functional Programming (Scheme and ML) Programming Language Design - Formal specification - Issues in designing a language
Background image of page 4
Introduction && PL History
Background image of page 5

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

View Full Document Right Arrow Icon
PL History: programming then…
Background image of page 6
PL History: Von Neumann architecture ALU Registers Memory Central Processing Unit (CPU) AX BX CX DX How to specify a program? System Bus
Background image of page 7

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

View Full Document Right Arrow Icon
PL History: assembly language Assembly language consist of a set of instructions that are in one- to-one corresponds with machine language Instructions: – mov d Assembler Assembly Language (symbolic instructions) Machine language (binary instructions) Registers RAM CPU AX X add – Sub – Mul – int ALU System Bus BX CX DX
Background image of page 8
PL History: assembly language Example 1: and multiply result by 6 MOV AX, -3 OV BX, Registers RAM CPU AX X MOV BX, -4 ADD AX, BX MOV BX, 10 ADD AX,BX MUL AX, 6 ALU System Bus BX CX DX
Background image of page 9

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

View Full Document Right Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 30

csc324 - Principles of Programming Languages Lecture 1 Wael...

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

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