Dan's Brain

ALU


:Circuiti: :Elettronica:

IN

A

B

6 bit di controllo

  • f0
  • f1
  • EnA
  • EnB
  • InvA
  • Inc

Carry In

OUT

C

Carry Out

3 parti

Decoder

di f0 e f1

Full-Adder

Logical Unit

Flag

Z

implementata da un NOR indica se il risultato e' zero

N

segno: 1 se negativo

Overflow

XOR tra carry out dell’ultimo e del pernultimo bit (se discordi c’e Overflow in complemento a 2)

Links to this note