Skip to content

Latest commit

 

History

History
31 lines (28 loc) · 1.14 KB

README.md

File metadata and controls

31 lines (28 loc) · 1.14 KB

Transtator

This program translate code written on my language p16 to assembly code

Quick install

If you only want to translate program written on p16 language to assembly code just dowloand EXE-file. The Translator.exe and the program written on p.16 language must be in one directory.

Installing using Github

git clone https://github.com/SerhiiPavlyk/Translator
cd Translator
git status
md build
cd build
cmake ..

Features

  • Arithmetic operations
  • Logical operations
  • Comparison operations
  • Input/output data
  • "For" cycle like in C
  • IF-Else like in C
  • Data type: integer 32 bits
  • Add comments

Programming language p16 syntax

Examples of programs written on p.16 language are in an Examples folder.

Demo of working Translator. Translating file 1.p16 from p.16 language to assembly language.