ENع
الدرس 17 · Combinational circuits

The ALU: the CPU's calculator

لم يُترجم بعد؛ يُعرض باللغة الإنجليزية

The arithmetic logic unit (ALU) does a CPU's maths and logic. Inside, an adder, an AND unit and an OR unit all work on the same two inputs at once, and a multiplexer picks one answer using a 2-bit operation code. Step a 4-bit ALU through ADD, SUB, AND and OR on A = 0101 and B = 0011, see how one adder also subtracts using two's complement, and read the four status flags: zero, negative, carry and overflow.

12 دقيقة11 خطوات5 أسئلةIntermediate
شكل 17 · تفاعلي
جارٍ تحميل الرسم…
أو ← →

اختبار يتاح بعد الخطوة الأخيرة.