EE1A Revision What should you be expected to do in a typical exam question ? Understanding of basic principles. Ability to perform simple circuit analysis.

Slides:



Advertisements
Similar presentations
Chapter 2: Data Manipulation
Advertisements

 Suppose for a moment that you were asked to perform a task and were given the following list of instructions to perform:
2.3) Example of program execution 1. instruction  B25 8 Op-code B means to change the value of the program counter if the contents of the indicated register.
EE1A2 Microprocessor Systems & Digital Logic Part I Digital Electronic System Design Dr. T. Collins.
Processor Function Topic 3.
The 8085 Microprocessor Architecture. Contents The 8085 and its Buses. The address and data bus ALU Flag Register Machine cycle Memory Interfacing The.
Processor System Architecture
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
The CPU Revision Typical machine code instructions Using op-codes and operands Symbolic addressing. Conditional and unconditional branches.
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
TK 2633 Microprocessor & Interfacing
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
1-1 Microprocessor Engineering Microprocessor Systems Microcontrollers Infineon 16-bit Processor Family  specifically 167CS microcontroller C Programming.
Room: E-3-31 Phone: Dr Masri Ayob TK 2633 Microprocessor & Interfacing Lecture 1: Introduction to 8085 Assembly Language.
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ input/output and clock inputs Sequence of control signal combinations.
1 Homework Reading –Professional Assembly Language, pp 17-32, Continue work on mp1 –Questions? Lab with your assigned section this week.
Elements of the Computer (How a processor works)
Introduction to Registers Being just logic, ALUs require all the inputs to be present at once. They have no memory. ALU AB FS.
CEG 320/520: Computer Organization and Assembly Language Programming1 CEG 320/520 Computer Organization and Assembly Language Programming.
Computer Structure.
Lesson 3 — How a Computer Processes Data
Lecture 8 Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
created by :Gaurav Shrivastava
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
Computer Systems Organization CS 1428 Foundations of Computer Science.
ECP2036 Microprocessor and Interfacing Registers Control & Status Registers Program Counter User-Visible Registers Instruction Register... General-Purpose.
Stack Stack Pointer A stack is a means of storing data that works on a ‘Last in first out’ (LIFO) basis. It reverses the order that data arrives and is.
Introduction to Computing Systems from bits & gates to C & beyond The Von Neumann Model Basic components Instruction processing.
Microcode Source: Digital Computer Electronics (Malvino and Brown)
Week 2.  Understand what the processor is and what it does.  Execute basic LMC programs.  Understand how CPU characteristics affect performance.
The CPU Central Processing Unit. 2 Reminder - how it fits together processor (CPU) memory I/O devices bus.
Chapter 4 MARIE: An Introduction to a Simple Computer.
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
Von Neumann Machine Objectives: Explain Von Neumann architecture:  Memory –Organization –Decoding memory addresses, MAR & MDR  ALU and Control Unit –Executing.
Model Computer CPU Arithmetic Logic Unit Control Unit Memory Unit
Lecture 14 Today’s topics MARIE Architecture Registers Buses
Arithmetic Logic Unit (ALU) Anna Kurek CS 147 Spring 2008.
CS 111 – Sept. 15 Chapter 2 – Manipulating data by performing instructions “What is going on in the CPU?” Commitment: –Please read through section 2.3.
CSNB374: Microprocessor Systems Chapter 1: Introduction to Microprocessor.
PHY 201 (Blum)1 Microcode Source: Digital Computer Electronics (Malvino and Brown)
 Introduction to Micro processor Introduction to Micro processor  Microprocessor instruction and opcodes Microprocessor instruction and opcodes  Mnemonics.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI CSCI N305 Information Representation: Machine Instructions.
September 26, 2001Systems Architecture I1 Systems Architecture I (CS ) Lecture 2: Implementation of a Simplified Computer Jeremy R. Johnson Wednesday,
Electronic Analog Computer Dr. Amin Danial Asham by.
Logic Design / Processor and Control Units Tony Diep.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
1 The Instruction Set Architecture September 27 th, 2007 By: Corbin Johnson CS 146.
Department of Electronic & Electrical Engineering Introduction to microcontrollers A microcontroller is a small computer on a single integrated circuit.
Simple ALU How to perform this C language integer operation in the computer C=A+B; ? The arithmetic/logic unit (ALU) of a processor performs integer arithmetic.
Department of Electronic & Electrical Engineering Lecture 2. PIC16F84A Architecture / Instructions Memory. Program/Data (Harvard) File Registers (Data).
The 8085 Microprocessor Architecture. What 8085 meant for? 80 - year of invention bit processor 5 - uses +5V for power.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
MicroProcessors Lec. 4 Dr. Tamer Samy Gaafar. Course Web Page —
8085 INTERNAL ARCHITECTURE.  Upon completing this topic, you should be able to: State all the register available in the 8085 microprocessor and explain.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ read/write and clock inputs Sequence of control signal combinations.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
8085 Microprocessor Architecture
Gunjeet Kaur Dronacharya Group of institutions
Lecture on Microcomputer
Number Representations and Basic Processor Architecture
Systems Architecture I (CS ) Lecture 2: A Simplified Computer
Information Representation: Machine Instructions
Computer Architecture Assembly Language
Computer Operation 6/22/2019.
Presentation transcript:

EE1A Revision What should you be expected to do in a typical exam question ? Understanding of basic principles. Ability to perform simple circuit analysis and/or design. Applying skills to unfamiliar problems.

EE1A Revision Number Systems Decimal, Binary, Hex. Binary Arithmetic Arithmetic Logic Units Addition circuits Subtraction circuits Flags ALUs

EE1A Revision Registers Using a Working Register with an ALU Tri-state ports & Busses Microcontrollers Basic building blocks Special purpose registers Programs

EE1A Specimen Paper 5(c) Showing all your working, (i)Convert the decimal numbers 53 and 21 into binary (base-2) form using eight digits. (ii)Calculate the two’s complement representation of the decimal number –21. (iii)Using your answers from (i) and (ii), calculate using binary long addition, the result of subtracting 21 from 53. Show all working again.

EE1A Specimen Paper 5(d) Using the circuit shown in figure 6, what is the relationship between the three bit output number, Q 0-2, and the pair of inputs A 0-2 and B 0-2 when: (i)The control input is low. (ii)The control input is high. Figure 6

4 (a) Briefly describe the three possible states of a tri-state port and their use in connecting devices to a common bi-directional bus. EE1A Specimen Paper Low impedance, high – equivalent to a +ve d.c. voltage source. Low impedance, low – equivalent to a short circuit to ground. High impedance – equivalent to a large resistor connected to ground. In the two low impedance states, the port can write to a common bus as long as all other ports sharing the bus are in the high impedance state. In the high impedance state, a port can read from the bus or simply ignore all bus activity.

4 (b) In the context of a micro-controller, briefly describe the functions of: i.The Status Register. ii.The Program Counter. iii.The Working Register. EE1A Specimen Paper i.The status register, SR, is used to store the states of several flags (e.g. carry flag, zero flag) generated as a result of an arithmetic or logical operation. ii.The program counter, PC, holds the address, in program memory, of the next instruction to be executed. iii.The working register, W, is used to store one of the operands to be inputted into the ALU and also stores the result of an arithmetic or logical operation.

4 (c) Outline the differences and the relationships between assembly language and machine code. EE1A Specimen Paper A program written in assembly language is a list of human readable code. A machine code program, on the other hand, is a list of numbers understood by the control unit of a microcontroller. All assembly language instructions map onto a unique machine code equivalent. To convert from assembly language to machine code, an assembler is used.

4 (d) Figure 4 shows an ALU, working register and two general-purpose registers R 0 and R 1, all connected to a common system bus. i.List the data transfers required to add together the contents of R 0 to itself and store the answer in register R 1. EE1A Specimen Paper 1.R 0 writes to the bus, W reads and stores. 2.R 0 writes to the bus (again), the ALU adds (storing the result in W) 3.W writes to the bus, R 1 reads and stores.

ii. List the data transfers required to compare for equality the contents of registers R 0 and R 1, the result appearing in the zero flag. EE1A Specimen Paper 1.R 0 writes to the bus, W reads and stores. 2.R 1 writes to the bus, the ALU subtracts (storing the difference in W) The zero flag will now be high only if R 0 = R 1