https://github.com/dosworld/hasm
Hascal x86 Assembler
https://github.com/dosworld/hasm
Last synced: 5 months ago
JSON representation
Hascal x86 Assembler
- Host: GitHub
- URL: https://github.com/dosworld/hasm
- Owner: DosWorld
- License: mit
- Created: 2021-10-30T03:40:50.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-01T11:05:10.000Z (about 5 years ago)
- Last Synced: 2025-01-31T11:34:17.947Z (12 months ago)
- Homepage:
- Size: 77.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hasm
Hascal x86 Assembler
## Features
- Compile to x86 Machine Code
- Use Win32 Api
- Fast
## Get Started
```
hasm
```
## Syntax
go to [Grammer Help Page](https://github.com/hascal/hasm/blob/main/Grammer%20Help/help.md)
## Examples
``` asm
.import
import Kernel32.dll WriteFile
import Kernel32.dll GetStdHandle
.var
string s1 "This is loop!"
byte STD_INPUT_HANDLE 0xf5
dword count 0x00000000
.code
:label1
push ^STD_INPUT_HANDLE
call getstdhandle
push 0x00 // lpOverlapped
push @count // lpNumberOfBytesWritten
push ^length(s1) // nNumberOfBytesToWrite
push @s1 // lpBuffer
push eax // hFile
call writefile
jmp label1
```
[More Examples...](https://github.com/hascal/hasm/tree/main/examples)
## ToDO
- [x] Create Assembler Base
- [x] using Win32 Api
- [x] use Functions
- [ ] Release for MacOS , Linux
## Development
Created by «Hascal Development Team» with collaboration with «Maj Arts»