An open API service indexing awesome lists of open source software.

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!

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