Skip to content

Aprekek/Simple_Computer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

--run from this directory--

run: make all
clean: make clean

File with simple basic code must be with the extension .b
File with simple assembler code must be with the extension .sa

__CODE_STYLE__

- The distance between the fields should be equal to 1 space;
- Lines must be numbered in order;
- A variable name consists of only one letter (A-Z);
- Variables only work with integers;
- Expressions for "LET" work only with variables;
- "IF" only supports 3 conventional characters: '>', '<', '='
- In “IF”, the expressions to the left and right of the symbol must be in brackets, for example: 01 IF (A) > (B + C) WRITE A
- The program should end with the word "END" and "HALT" for the base and assembler, respectively

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published