slide1 n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
An Adder PowerPoint Presentation
play fullscreen
1 / 11

An Adder

173 Views Download Presentation
Download Presentation

An Adder

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. An Adder A Subtractor

  2. Arithmetic Logic Unit A and B are the inputs of the adder/ subtractor R is the output of the adder/ subtractor F is the control to tell it to add or subtract D is the status to tell us when it is done (or maybe something else?)

  3. A Flip Flop A 4 bit register

  4. Decoder Add Subtract AND OR To ALU Add Subtract AND OR

  5. .

  6. Von Neumann Architecture Harvard Architecture

  7. Atmel Registers Note: R0 to R15 will not work with some instructions

  8. Status Register I – Global Interrupt enable flag, must be set for interrupts to work T – Bit copy storage, used with BST and BLD H – Half carry flag, detects carry from lower nibble S – Sign flag, exclusive OR between N flag and V flag V – Two’s complement overflow flag N – Negative flag, result of an operation is negative Z – zero flag, result of an operation is zero C – Carry flag, indicates an overflow after count reaches 255