Complex ALU

by

 

23 Oct 2006 (Updated )

A Simulator of Complex ALU

incb.m
clc

% Prova di incrementatore

a=[0 0 1 0]
b=[0 0 0 0]

c_flag=0

op_code=[0 1 0 0]

for r=1 : 16
   [y,flags]=alu(a,b,op_code,c_flag)
   
   b=y;
end

Contact us