Skip to content

amitganon/Elements-of-Computing-Systems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Elements-of-Computing-Systems

My full implementation from Nand gate to 'Hack' mechine,a 16-bit ALU, CPU, Assembly, Machine code and finally compiler

3 parts of implementation

    • gates - nand, or, and, mux, demux, multibit, bitwise
    • Set2sCompliment, flip-flop, counter, register.
    • I implement a RAM, ALU with 19 functions (x+y,x-y,!x and more)
    • I implement an Assembly and CPU.
    • connect all the parts (Cpu, Alu, memory, and more).
    • Implement all the functions that translate assembly to machine code.

    *** part 1 is fraudulently implemented for efficiency

    • Tokenazing step
    • Implement of Parser that gets input of tokens stack and makes parse tree.
    • Implement all the functions that connect all together to a full compiler (GenerateCode, SimplifyExpression, ComputeSymbolTable, and more).

About

My full implementation from nand gate to compiler

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published