Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hobbyoss/gosk
yet another assembly interpreter, like nask
https://github.com/hobbyoss/gosk
assembly-interpreter golang
Last synced: 2 days ago
JSON representation
yet another assembly interpreter, like nask
- Host: GitHub
- URL: https://github.com/hobbyoss/gosk
- Owner: HobbyOSs
- License: gpl-3.0
- Created: 2016-12-28T10:51:46.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2024-08-22T12:55:21.000Z (5 months ago)
- Last Synced: 2025-01-20T02:46:55.863Z (3 days ago)
- Topics: assembly-interpreter, golang
- Language: Go
- Homepage:
- Size: 243 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gosk [![Build Status](https://travis-ci.org/hangingman/gosk.svg?branch=master)](https://travis-ci.org/hangingman/gosk)
This is a yet another assembly interpreter gosk!
## Build & Run
* You need to install Go and Make
```
$ go get -u github.com/HobbyOSs/gosk
$ cd $GO_HOME/src/github.com/HobbyOSs/gosk
$ make
```## How to run gosk
* REPL mode
* You can run REPL mode with no option```
$ ./gosk
Hello user! This is yet another assembly gosk!
Feel free to type in commands
>> DB 0x00
[ info ] parser_parse_stmt.go:49: { OPCODE:{ DB: DB,0x00 } }
[ info ] eval.go:136: [OPCODE: DB, HEX_LIT: 0x00]
00
>> RESB 10
[ info ] parser_parse_stmt.go:49: { OPCODE:{ RESB: RESB,10 } }
[ info ] eval.go:228: [OPCODE: RESB, INT: 10]
00000000000000000000
>>
```* Normal assembly mode
* You can generate an object file from an assembly source (*.nas format)```
./gosk --help
usage: [--help | -v] source [object/binary] [list]
-v バージョンとライセンス情報を表示する
```