https://github.com/compeydev/luau-asm
A tiny mock assembly instruction set written in pure luau.
https://github.com/compeydev/luau-asm
Last synced: 8 months ago
JSON representation
A tiny mock assembly instruction set written in pure luau.
- Host: GitHub
- URL: https://github.com/compeydev/luau-asm
- Owner: CompeyDev
- License: mit
- Created: 2023-04-24T10:35:45.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-25T08:31:38.000Z (about 3 years ago)
- Last Synced: 2024-12-27T20:41:15.066Z (over 1 year ago)
- Language: Lua
- Homepage:
- Size: 29.3 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
```
__
| | __ _______ __ __ _____ ______ _____
| | | | \__ \ | | \ ______ \__ \ / ___// \
| |_| | // __ \| | / /_____/ / __ \_\___ \| Y Y \
|____/____/(____ /____/ (____ /____ >__|_| /
\/ \/ \/ \/
```
A tiny (~200 lines) assembly instruction set written in pure luau. Pretty much a small project I put together in a couple hours.
## [Example Usage](init.lua)
```lua
luau_asm.load_asm([[
section.text
global _start
_start:
MOV ECX, 0x80
MOV EDX, ECX
]])
```
##### ✨ Psst... I first had this idea while looking at [LuaSyntaxTree](https://github.com/4x8Matrix/LuaSyntaxTree) by [@4x8matrix](https://github.com/4x8Matrix), go check it out!