Make readme more readable

This commit is contained in:
XOR 2023-04-04 23:40:32 +02:00
parent 8b75dbd887
commit fce1fa6a72

View file

@ -6,8 +6,8 @@ The assembler converts the written assembly into a memory image for the EIPA pro
It is basically made up of 4 building blocks:
### 1. lexer
The lexer takes the file with the written assembly and converts it into the individual components (tokens). It also takes into account if, for example, there are multiple spaces between the parts of the instruction, so that the other parts of the assembler do not have to worry about that. It converts e.g. the line
INP 31 ; A comment
into the parts |INP|, |31|, |end of instruction|.
`INP 31 ; A comment`
into the parts `|INP|, |31|, |end of instruction|`.
### 2. error analyzer
The error analyzer takes the tokens from the lexer, and checks e.g. if the address of an instruction is too large, if an instruction that needs an address has one, if there are any typos, etc. If it finds an error, it aborts the program.