SlideShare a Scribd company logo
Processors
Ikuru K
Agenda
• Overview
• Hands On
Note
• The details are dramatically different
from processor to processor.
• Try to capture what the essence.
Physical Look
Manufacturing Process
Working Directly with Processors
Finite State Machine in a Nutshell
• Next state is a func
tion of current stat
e and input, mapp
ed by state transfe
r function.
• Processor is a finit
e state machine.
Processor Implementation
Main Components
• RAM – Holds instructions and longer term data
• Register – Storage to do arithmetic/ store pointers
• ALU – circuit that carries out all arithmetic operations
• PC – program counter that points to instruction to be d
one.
• BUS – Communication between components (terminal
etc)
Basic Processor Instructions
• Load to register
• Write to address
• Arithmetic
• Compare->was result of arithmetic 0? gt 0 ? lt
0?
• Jump – Modify PC value -> functions are acco
mplished using this.
Hands-on
• http://schweigi.github.io/assembler-simulator
/
Processors in a nutshell
Plain Text
; Ikuru K
; Simple iteration example
; Writes the character to the terminal stored in register A
; (Number in register C) times.
;intended for use on http://schweigi.github.io/assembler-simulator/
JMP start
start:
MOV A, 100; write ascii value of character to be printed here
MOV C, 11 ; write x here
MOV D, 232 ; Point to output
CALL print_x_times
HLT ; Stop execution
print_x_times:
INC C;offsetting.
.print_loop:
MOV [D], A ;Print character to be written
DEC C;Updating the counter
INC D;Each charactor slot is mapped to a different location
CMP C,0;Done?
JNZ .print_loop;Continue if not done
RET;

More Related Content

PPTX
Computer project
PPT
Lecutre-6 Datapath Design.ppt
PPT
17 registers
PPT
VLSI subsystem design processes
PPTX
Ecet330 1 b - basic computer concepts
PPTX
Abstract presentation on feature engineering on streaming data for pycon
PPTX
Advanced methods for robotic machining of hard materials
PPT
lp pro.pptx
Computer project
Lecutre-6 Datapath Design.ppt
17 registers
VLSI subsystem design processes
Ecet330 1 b - basic computer concepts
Abstract presentation on feature engineering on streaming data for pycon
Advanced methods for robotic machining of hard materials
lp pro.pptx

What's hot (20)

PPT
Parallel concepts1
PPTX
Caap presentation by me
PPTX
THE PROCESSOR
PPT
ALU arithmetic logic unit
PDF
Ml also helps generic compiler ?
PDF
IRJET- Literature Survey on Hardware Addition and Subtraction
PDF
Bulk-Synchronous-Parallel - BSP
PPTX
Can communication using labview
PPT
11 instruction sets addressing modes
PPTX
Lecture 23
PDF
Robotics: Virtual Commissioning in Process Simulate
PDF
CArcMOOC 04.01 - Von Neumann and CPU micro-architecture
PDF
Review on 32 bit single precision Floating point unit (FPU) Based on IEEE 754...
PPTX
PPSX
[GDC 2012] Enhancing Graphics in Unreal Engine 3 Titles Using AMD Code Submis...
PPTX
[Unite Seoul 2020] Mobile Graphics Best Practices for Artists
PPTX
[Unite Seoul 2019] Mali GPU Architecture and Mobile Studio
PPTX
Arithmatic pipline
PDF
Winter Maintenance Management System Bavaria
PDF
Unit 3 The processor
Parallel concepts1
Caap presentation by me
THE PROCESSOR
ALU arithmetic logic unit
Ml also helps generic compiler ?
IRJET- Literature Survey on Hardware Addition and Subtraction
Bulk-Synchronous-Parallel - BSP
Can communication using labview
11 instruction sets addressing modes
Lecture 23
Robotics: Virtual Commissioning in Process Simulate
CArcMOOC 04.01 - Von Neumann and CPU micro-architecture
Review on 32 bit single precision Floating point unit (FPU) Based on IEEE 754...
[GDC 2012] Enhancing Graphics in Unreal Engine 3 Titles Using AMD Code Submis...
[Unite Seoul 2020] Mobile Graphics Best Practices for Artists
[Unite Seoul 2019] Mali GPU Architecture and Mobile Studio
Arithmatic pipline
Winter Maintenance Management System Bavaria
Unit 3 The processor
Ad

Viewers also liked (20)

PDF
WebServices (Soap UI) Live Training, WebServices Live Training, Webservices V...
PPT
SOAP, WSDL and UDDI
PPTX
SOAPUI Test Design & Utilities
PPTX
Soap ui introduction
PPT
Presentation for soap ui
PPTX
Groovy in SOAP UI
PDF
Web Service Testing using TestComplete
PPT
Soa testing soap ui (2)
PPT
SOAP-UI The Web service Testing
PPTX
Fail Fast to be Agile - Sreedhar Dakshinamurthy
PPT
Database testing
PDF
How to start performance testing project
PPTX
Learn SoapUI
PPT
Ppt of soap ui
PPT
Webservices testing using SoapUI
PPT
Web Service Presentation
PDF
Web services automation workshop sreedhar dakshinamurthy
PDF
Web Services Automated Testing via SoapUI Tool
PPTX
Testing web services
WebServices (Soap UI) Live Training, WebServices Live Training, Webservices V...
SOAP, WSDL and UDDI
SOAPUI Test Design & Utilities
Soap ui introduction
Presentation for soap ui
Groovy in SOAP UI
Web Service Testing using TestComplete
Soa testing soap ui (2)
SOAP-UI The Web service Testing
Fail Fast to be Agile - Sreedhar Dakshinamurthy
Database testing
How to start performance testing project
Learn SoapUI
Ppt of soap ui
Webservices testing using SoapUI
Web Service Presentation
Web services automation workshop sreedhar dakshinamurthy
Web Services Automated Testing via SoapUI Tool
Testing web services
Ad

Similar to Processors in a nutshell (20)

PPTX
Computer Organization and Architecture - UNIT I.pptx
PDF
Computer System Architecture - Computer System Architecture
PPTX
Computer Organisation & Architecture (chapter 1)
PDF
Computer Organization and Architechuture basics
PPTX
Computer Organization and Architecture_Unit 1_part a.pptx
PPTX
CAO.pptx
PPTX
basicfunctionalunit-190124043726555.pptx
PDF
Co module 1 2019 20-converted
PPTX
chapter 1 -Basic Structure of Computers.pptx
PPTX
ICT-Lecture_12(VonNeumannArchitecture).pptx
PPTX
Unit 1 computer architecture (1)
PPT
CSe_Cumilla Bangladesh_Country CSE CSE213_5.ppt
PPT
coa Chapter 2 final edited*Minimum 40 characters required.ppt
PPTX
UNIT 3 - General Purpose Processors
PPT
isa architecture
PPT
PPT Computer_System_Architecture_Morris_Mano.ppt
PDF
Unit 2.1. cpu
PDF
computer-system-architecture-morris-mano-220720124304-fefd641d.pdf
PPT
computer-system-architecture-morris-mano-220720124304-fefd641d.ppt
PPT
mano.ppt
Computer Organization and Architecture - UNIT I.pptx
Computer System Architecture - Computer System Architecture
Computer Organisation & Architecture (chapter 1)
Computer Organization and Architechuture basics
Computer Organization and Architecture_Unit 1_part a.pptx
CAO.pptx
basicfunctionalunit-190124043726555.pptx
Co module 1 2019 20-converted
chapter 1 -Basic Structure of Computers.pptx
ICT-Lecture_12(VonNeumannArchitecture).pptx
Unit 1 computer architecture (1)
CSe_Cumilla Bangladesh_Country CSE CSE213_5.ppt
coa Chapter 2 final edited*Minimum 40 characters required.ppt
UNIT 3 - General Purpose Processors
isa architecture
PPT Computer_System_Architecture_Morris_Mano.ppt
Unit 2.1. cpu
computer-system-architecture-morris-mano-220720124304-fefd641d.pdf
computer-system-architecture-morris-mano-220720124304-fefd641d.ppt
mano.ppt

More from Ikuru Kanuma (20)

PDF
clj and deps.edn
PDF
Kukutei shinkoku with Clojure
PDF
Locarise,reagent and JavaScript Libraries
PDF
clara-rules
PDF
ClojureScript@node
PDF
Welcome to ClojureScript
PDF
Clojure web dev history
PDF
Arachne Unweaved (JP)
PDF
Clojureでガラケーサイトを作る際の細かい話
PPTX
Web forms made easy (with formative)
PDF
サムネイルを作る話
ODP
Review June2015 Dec2015
ODP
Redmine on amazon ec2
ODP
Engineering Ethics (In Japanese)
ODP
First Real Pull Request Ever
ODP
Pyunit
ODP
Review june2014 june2015
ODP
Elementary vim tricks
ODP
Computer hardware, and network
ODP
Installing Japanese environment(mozc) on Debian 8 + Mate
clj and deps.edn
Kukutei shinkoku with Clojure
Locarise,reagent and JavaScript Libraries
clara-rules
ClojureScript@node
Welcome to ClojureScript
Clojure web dev history
Arachne Unweaved (JP)
Clojureでガラケーサイトを作る際の細かい話
Web forms made easy (with formative)
サムネイルを作る話
Review June2015 Dec2015
Redmine on amazon ec2
Engineering Ethics (In Japanese)
First Real Pull Request Ever
Pyunit
Review june2014 june2015
Elementary vim tricks
Computer hardware, and network
Installing Japanese environment(mozc) on Debian 8 + Mate

Recently uploaded (20)

PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Big Data Technologies - Introduction.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Electronic commerce courselecture one. Pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
cuic standard and advanced reporting.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Approach and Philosophy of On baking technology
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Per capita expenditure prediction using model stacking based on satellite ima...
20250228 LYD VKU AI Blended-Learning.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Big Data Technologies - Introduction.pptx
Unlocking AI with Model Context Protocol (MCP)
NewMind AI Weekly Chronicles - August'25 Week I
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Electronic commerce courselecture one. Pdf
Programs and apps: productivity, graphics, security and other tools
Dropbox Q2 2025 Financial Results & Investor Presentation
cuic standard and advanced reporting.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Approach and Philosophy of On baking technology
Review of recent advances in non-invasive hemoglobin estimation
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton

Processors in a nutshell

  • 3. Note • The details are dramatically different from processor to processor. • Try to capture what the essence.
  • 7. Finite State Machine in a Nutshell • Next state is a func tion of current stat e and input, mapp ed by state transfe r function. • Processor is a finit e state machine.
  • 9. Main Components • RAM – Holds instructions and longer term data • Register – Storage to do arithmetic/ store pointers • ALU – circuit that carries out all arithmetic operations • PC – program counter that points to instruction to be d one. • BUS – Communication between components (terminal etc)
  • 10. Basic Processor Instructions • Load to register • Write to address • Arithmetic • Compare->was result of arithmetic 0? gt 0 ? lt 0? • Jump – Modify PC value -> functions are acco mplished using this.
  • 13. Plain Text ; Ikuru K ; Simple iteration example ; Writes the character to the terminal stored in register A ; (Number in register C) times. ;intended for use on http://schweigi.github.io/assembler-simulator/ JMP start start: MOV A, 100; write ascii value of character to be printed here MOV C, 11 ; write x here MOV D, 232 ; Point to output CALL print_x_times HLT ; Stop execution print_x_times: INC C;offsetting. .print_loop: MOV [D], A ;Print character to be written DEC C;Updating the counter INC D;Each charactor slot is mapped to a different location CMP C,0;Done? JNZ .print_loop;Continue if not done RET;