Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
akafael authored Feb 3, 2018
1 parent 45ab0c3 commit 9ba22e5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Yet another Little ASM

`yla` is an custom Assembly-like language, implemented from scratch in C++. Name inspired on [my-little-asm](https://github.com/alexdantas/my-little-asm) deverloped by @alexdantas witch was also deverloped as _System Software_ class assigment at UnB. So far, it has an `assembler` (to create machine code) and nothing else yet.
`yla` is an custom Assembly-like language, implemented from scratch in C++. Name inspired on [my-little-asm](https://github.com/alexdantas/my-little-asm) deverloped by @alexdantas witch was also deverloped as _System Software_ class assigment at UnB. So far, it has an `assembler` (to create machine code), a `linker`, a `loader` and a `simulator`.

This is an example on how Assembly languages work - a set of human-readable instructions that are translated into machine code. Normally the language would be designed for some hardware to execute, but in our case we simulate it step by step.

Expand All @@ -19,7 +19,7 @@ $ make
```asm
SECTION TEXT
ROT: INPUT N1
COPY N1, N4 ; comentario qualquer
COPY N1, N4 ; Comentary
COPY N2, N3
COPY N3, N3 + 1
OUTPUT N3 + 1
Expand Down Expand Up @@ -81,3 +81,4 @@ Note:
| `SPACE` | Saves an empty space on memory for data storage.|
| `SPACE N` | Saves an empty array in memory of size `N`. |
| `CONST X` | Saves a constant of value `X` in memory. |
| `CONST X` | Saves a constant of value `X` in memory. |

0 comments on commit 9ba22e5

Please sign in to comment.