Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 610 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 610 Bytes

scc

Simplified C Compiler , a project undertaken in the MicroProcessor and assembly language course in university of khartoum EEE161 under UST Mohanad Adb Elmonem Hassan supervision .

Consists of three stages :

  • lexer
  • parser
  • compiler

it takes C code as an input and produces an assembly code in the x86 instruction set .

Currently implemented features :

  • Arithmetic and logical operation
  • Variables
  • Switch
  • For loop
  • While loop
  • Break
  • Function definition
  • Function call
  • using Constant string
  • If statements

This project is still under development