L1Intro - Systematic Development of Programming Languages...

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

View Full Document Right Arrow Icon
cs784(Prasad) L1Intro 1 Systematic Development of Programming Languages
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
cs784(Prasad) L1Intro 2 Orthogonal Parameters Conceptual view ( Model of Computation ) » imperative, functional, relational,. .. Level of abstraction ( Model of Implementation ) » problem domain » ... » machine Computational Task : I/O relation to be implemented
Background image of page 2
cs784(Prasad) L1Intro 3 1. Customized Digital Computer Oj Ij Ik Ok Task j Task k Rig different circuit for each task
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
cs784(Prasad) L1Intro 4 von Neumann showed the existence of a Universal Machine ( hardware ) that can be customized using control inputs to carry out different tasks. Software is the encoding of the task to control this machine. 2. Stored Program Computing encoding(Tj) Ij Oj
Background image of page 4
cs784(Prasad) L1Intro 5 Imperative Languages Model of Computation » ALU + Memory + Input + Output (von Neumann architecture) Levels of Abstraction (“ Human Interface ”) Machine Language » Binary Representation of the task Assembly Language » Symbolic Representation of the task
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
Assembly Language Use symbols instead of binary digits to describe fields of instructions. Every aspect of machine visible in program: One statement per machine instruction. Register allocation, call stack, etc. must be managed explicitly. No structure: everything looks the same. 101011 00100 00010 0000000000010101 ADDI R4 R2 21 ADDI R4,R2,21
Background image of page 6
cs784(Prasad) L1Intro 7 Pros and Cons of Assembly Language Avoids Absolute Addressing » relocatable, reusable/shareable Uses Symbolic Names » readable Low-level programming wastes effort in coding a solution rather than solving a problem . Difficult to build and maintain large programs.
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
cs784(Prasad) L1Intro 8 High-level Language Provides notation to describe problem solving strategies rather than organize data and instructions at machine-level. Improves
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 27

L1Intro - Systematic Development of Programming Languages...

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

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