0% found this document useful (0 votes)
25 views

Microprocessor Programming and Interfacing: Computing Concepts

The document discusses microprocessor programming and interfacing concepts presented by Dr. Suvadip Batabyal of the Department of CSIS at BITS Pilani Hyderabad. It explains how instructions are executed using registers and addresses, how the processor acts as a bus controller to read and write data to registers, and provides a simple representation of the processor connected to memory and I/O interfaces to communicate with input/output devices.

Uploaded by

Kaushikperika
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

Microprocessor Programming and Interfacing: Computing Concepts

The document discusses microprocessor programming and interfacing concepts presented by Dr. Suvadip Batabyal of the Department of CSIS at BITS Pilani Hyderabad. It explains how instructions are executed using registers and addresses, how the processor acts as a bus controller to read and write data to registers, and provides a simple representation of the processor connected to memory and I/O interfaces to communicate with input/output devices.

Uploaded by

Kaushikperika
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Microprocessor Programming

and Interfacing
Computing Concepts

Dr. Suvadip Batabyal


Dept. of CSIS
BITS Pilani, Hyderabad

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION


How instructions are executed?
Instructions
X=3
Y=4 Address
Z=X+Y (1) (2) (3)
0011 1000 1011

Registers

Controller
Data

Commands
0011 1000 1011

+
22-Jan-19 (4) 2

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION


Bus Read and Write
Write

r1 r2 r3 r4 r5 r6

Data

r7 r8 r9 r10 r11 r12

Read

22-Jan-19 3

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION


Processor as bus controller
Processor
Address

Write Read
Address
Decoder
Register
select

Data

r1 r2 r3 r4 r5 r6

22-Jan-19 4

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION


Address Bus
Processor
Address

Write Read

Data

1-1000 1001- 2001- 3001- 4001- 5001-


2000 3000 4000 5000 6000

Address
Decoder
Bank select

22-Jan-19 5

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION


Control Bus
Processor
Address

Control bus

Data

1-1000 1001- 2001- 3001- 4001- 5001-


2000 3000 4000 5000 6000

Address
Decoder
Bank selet
select

22-Jan-19 6

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION


I/O Operation
Processor
Address

Control bus

Data

1-1000 1001- 2001- 3001- 4001 5001


2000 3000 4000

Address
Decoder
Bank selet
Input output
select

22-Jan-19 7

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION


A Simple Representation
Processor

Control bus
Data bus
Address bus

Memory I/O Interface

IO device IO device

22-Jan-19 8

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION


Thank You.

Questions???

22-Jan-19 9

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

You might also like