Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ali-tm-original/laos
A toy language to solve caie A-levels Assembly table questions
https://github.com/ali-tm-original/laos
assembly interpreter rust
Last synced: 9 days ago
JSON representation
A toy language to solve caie A-levels Assembly table questions
- Host: GitHub
- URL: https://github.com/ali-tm-original/laos
- Owner: Ali-TM-original
- License: gpl-3.0
- Created: 2022-06-16T16:47:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-15T07:57:55.000Z (over 2 years ago)
- Last Synced: 2024-12-06T15:18:14.045Z (2 months ago)
- Topics: assembly, interpreter, rust
- Language: Rust
- Homepage:
- Size: 160 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Laos
A CAIE A-level assembly table solver### Status ⇒ development
### Current Code Quality ⇒ bad## Example code
```js
STARTPROG
VARIABLES
VAR IX 0
VAR ACC 0
POSITION 365 1
POSITION 366 3
POSITION 367 65
POSITION 368 66
STARTLINE 200
ENDVARIABLES
# main code starts here
LDD 365 # this is line 200 according to our STARTLINE variable and relative addressing
CMP 366
JPE 209
INC ACC
STO 365
MOV IX
LDX 365
OUT
JMP 200
END
ENDPROG```
## Basic Syntax and working