Machine Language Computer languages cannot be directly interpreted by the computer – they are not in binary. All commands need to be translated into binary.

Slides:



Advertisements
Similar presentations
Instruction Sets: Characteristics and Functions Addressing Modes
Advertisements

Machine & Assembly Language. Machine Language  Computer languages cannot be read directly by the computer – they are not in binary.  All commands need.
1 Programming Languages b Each type of CPU has its own specific machine language b But, writing programs in machine languages is cumbersome (too detailed)
Compilers and Interpreters. Translation to machine language Every high level language needs to be translated to machine code There are different ways.
Computer Systems Nat 4/5 Computing Science Translator Programs.
9-Aug-15 Vocabulary. Programming Vocabulary Watch closely, you might even want to take some notes. There’s a short quiz at the end of this presentation!
Course: Introduction to Computers
Computers & Logic An Overview. Hardware Hardware is the equipment, or the devices, associated with a computer. For a computer to be useful, however, it.
PYTHON: LESSON 1 Catherine and Annie. WHAT IS PYTHON ANYWAY?  Python is a programming language.  But what’s a programming language?  It’s a language.
KEY COMPONENTS OF A COMPUTER SYSTEM ANDREW LOLAVAR.
Activity 1 - WBs 5 mins Go online and spend a moment trying to find out the difference between: HIGH LEVEL programming languages and LOW LEVEL programming.
Introduction to Computer Programming Computer Programming I Introduction to Aerospace Created by The North Carolina School of Science and Math.The North.
CHAPTER 4: INTRODUCTION TO COMPUTER ORGANIZATION AND PROGRAMMING DESIGN Lec. Ghader Kurdi.
General Computer Science for Engineers CISC 106 Lecture 02 Dr. John Cavazos Computer and Information Sciences 09/03/2010.
computer
3/5/2009Computer software1 Introduction Computer System Hardware Software HW Kernel/OS API Application Programs SW.
The Central Processing Unit (CPU) and the Machine Cycle.
Important Concepts  Parts of the CPU  Arithmetic/Logic Unit  Control Unit  Registers  Program Counter  Instruction Register  Fetch/Decode/Execute.
COMPUTER SCIENCE Data Representation and Machine Concepts Section 2.2 Instructor: Lin Chen Sept 2013.
Assembly Language Friday, Week 5 Monday, Week 6. Assembly Language  Set of mnemonic names for the instructions in a particular computer's machine language.
1.4 Representation of data in computer systems Instructions.
CENTRAL PROCESSING UNIT. CPU Does the actual processing in the computer. A single chip called a microprocessor. Composed of an arithmetic and logic unit.
Compilers and Interpreters. HARDWARE Machine LanguageAssembly Language High Level Language C++ Visual Basic JAVA Humans.
By: Cheryl Mok & Sarah Tan. Java is partially interpreted. 1. Programmer writes a program in textual form 2. Runs the compiler, which converts the textual.
JavaScript 101 Introduction to Programming. Topics What is programming? The common elements found in most programming languages Introduction to JavaScript.
By Tom and James. Hardware is a physical part of the system that you can pick up and move. There are two types of hardware, external and internal. External.
Ch 1 - Introduction to Computers and Programming Hardware Terminology Main Memory Auxiliary Memory Drives Writing Algorithms Using Pseudocode Programming.
By ILTAF MEHDI 1 COURSE TITLE: FUNDANENTALS OF PROGRAMMING INSTRUCTOR: ILTAF MEHDI.
Compilers and Interpreters
Representation of Data Binary Representation of Instructions teachwithict.weebly.com.
Programming Languages CSE 340 – Principles of Programming Languages Spring 2016 Adam Doupé Arizona State University
Winter 2016CISC101 - Prof. McLeod1 Today Numeric representation (or “How does binary and hexadecimal work?”). How can a CPU understand instructions written.
What’s a Computer?. The Basics A computer is a machine that manipulates data based on a list of instructions called a program.
WHAT IS BINARY CODE!!! BY JASON AND DENNIS. BINARY CODE IS!!! The code that is used to make up data in computers. All images, apps, commands and data.
Introduction to Jeroo a small object oriented programming language.
Introduction to java (class and object). Programming languages: –Easier to understand than CPU instructions –Needs to be translated for the CPU to understand.
1-1 The Python IDE.
Software Development Environment
Topic 2: Hardware and Software
Why don’t programmers have to program in machine code?
Behind Every Application…. There Is Program
GCSE COMPUTER SCIENCE Computers 1.5 Assembly Language.
A Python Tour: Just a Brief Introduction
Writing, Compiling and Running a C program
Introduction to programming
A451 Theory – 7 Programming 7A, B - Algorithms.
Entry Ticket: High and Low Level Languages
Teaching Computing to GCSE
TRANSLATORS AND IDEs Key Revision Points.
Teaching Computing to GCSE
Language is a medium of communication.
a small object oriented programming language.
High Level Programming Languages
المدخل إلى تكنولوجيا التعليم في ضوء الاتجاهات الحديثة
Do it now – PAGE 10 You will find your do it now task in your workbook – look for the start button! Tuesday, 15 January 2019.
Algorithms Key Revision Points.
PROGRAMMING FUNDAMENTALS Lecture # 03. Programming Language A Programming language used to write computer programs. Its mean of communication between.
Inputs & Outputs Inside your computer video.
Understand the interaction between computer hardware and software
Nat 4/5 Computing Science Translator Programs
Machine epsilon eps returns the distance from 1.0 to the next largest floating point number. When eps is machine epsilon, the logic 1+eps>1 is TRUE.
General Computer Science for Engineers CISC 106 Lecture 03
Type Topic in here! Created by Educational Technology Network
LANGUAGE EDUCATION.
1.3.7 High- and low-level languages and their translators
Programming language translators
Introduction to Computer Science
Presentation transcript:

Machine Language Computer languages cannot be directly interpreted by the computer – they are not in binary. All commands need to be translated into binary instructions called machine language. Each type of CPU has its own machine language.

In Python The same program in Python would look like: def testFunction(y): z = 0 x = 3 while (x != 0): z = z + y x = x - 1 y = z return y Or just y = y *3

Program Translation def testFunction(y): z = 0 x = 3 while (x != 0): z = z + y x = x - 1 y = z return y InterpreterAssembler