https://github.com/sprintlanguage/asm
The custom Assembler / Assembly format for the Sprint language, programmed in C!
https://github.com/sprintlanguage/asm
asm assembly c compiler language programming sprint
Last synced: 6 months ago
JSON representation
The custom Assembler / Assembly format for the Sprint language, programmed in C!
- Host: GitHub
- URL: https://github.com/sprintlanguage/asm
- Owner: SprintLanguage
- License: mit
- Created: 2025-06-17T12:20:02.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-06-22T17:22:22.000Z (6 months ago)
- Last Synced: 2025-06-22T17:39:14.505Z (6 months ago)
- Topics: asm, assembly, c, compiler, language, programming, sprint
- Language: C
- Homepage:
- Size: 41 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SprintASM
SprintASM or SASM is the Assembly format used by Sprint. It's custom made and tries to be multiplatform.
## Instructions
### `move` instruction set
The `move` instruction set is a basic instruction allowing you to move things from a source to an origin.
#### Limitation
There is an limitation to the `move` instruction, you cannot directly set from memory to memory directly, you can however do this in two instructions by doing:
```SASM
move64 si
move64 si
```
#### Variants
The `move` instruction set has the following variants:
- `move8`: Moves 8 bits
- `move16`: Moves 16 bits
- `move32`: Moves 32 bits
- `move64`: Moves 64 bits