1 / 11

An Adder

An Adder. A Subtractor. 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?). A Flip Flop. A 4 bit register.

emelda
Download Presentation

An Adder

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

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

More Related