20090911-FetchDecodeExecuteAndLanguages

20090911-FetchDecodeExecuteAndLanguages - CSE115:...

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

View Full Document Right Arrow Icon
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall alphonce@cse.buffalo.edu 1
Background image of page 1

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

View Full DocumentRight Arrow Icon
Announcements Cell phones off Name signs out 2
Background image of page 2
Today’s lessons Instructions are encoded as bit strings Machine languages Fetch-Decode-Execute cycle Assembly languages High-level languages Requirements for a programming language 3
Background image of page 3

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

View Full DocumentRight Arrow Icon
Computer Organization Central Processing Unit (CPU) Registers General purpose (e.g. R1 R16) Special purpose (e.g. Program Counter and Instruction Register) Arithmetic Logic Unit (ALU) Memory 4
Background image of page 4
Computer Organization 5 Processor (CPU) Memory (RAM) 11010010 11010010 11010010 11010010 11010010 R1 R2 . . . R16 PC IR ALU 11010010 11010010
Background image of page 5

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

View Full DocumentRight Arrow Icon
Encoding instructions Example 1101000001000010 1101 000001 000010 INSTR ARG1 ARG2 ADD Reg1 Reg2 6
Background image of page 6
This wire will carry a 1 only if the op code of the instruction is 1101. Instruction decoding
Background image of page 7

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

View Full DocumentRight Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 16

20090911-FetchDecodeExecuteAndLanguages - CSE115:...

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

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