Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

kodbilen can i show you an easier way to use ALUs without making multiple different ALUs with different functions

Sure, of course I would love to learn. You might write or share material as a reply to this comment. 

Deleted 3 years ago
(3 edits)

half of an adder with a normal Exclusive ORthis is a interesting X-OR this one can cancel out the x-or function and turn into a normal Or and there are other ways to cancel the xot function but the one here basicly shows you how it’s doing itan full adder using the normal x-or and special x-or and 2 other functions the FC and can look unless due to the OR but the CIN only for carry wile Flood Carry turns on all the carrys at once. edited ok to fix this make shure you make the OR function cancel out the AND gate in the picture below.a group of full adders the Carry out (COUT) is connected into Carry in as a carry to each Full adders except for one thats connected as a function the FC is connected to ALL the FCs of the full adders and OR function is connected to all Full adders too. also known as a Ripple carry adder (RCA) the slowest type of adder out there but good for beginners.inverters basically can take a binary input and flip it. like 1001 to 01101 to 2 inverters are required i prefer 2. one Ripple carry adder and other outputs this time which is the Zero flag (Fz) and the negative flag (Fn) and 2 new inputs for input a and b with all these functions you can add and subtract in binary and do basic logic like NOR, X-OR, AND, OR, NAND, and X-NOR. the reason why not is not in the list be because you can do NOT function but Nor hastily dose the exact same thing so its one less peace of programming you have to worry aboutthats all the basics of the ALU hope you enjoy the info.

the Arithmetic logic unit

Deleted 3 years ago

its in options at the top right between create and exit

(1 edit)

Oh thanks also I can’t figure out how to make RAM

edit: figured it out.