Categorygithub.com/HobbyOSs/gosk
repositorypackage
0.0.0-20240819140424-91167732d237
Repository: https://github.com/hobbyoss/gosk.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Gosk Build Status

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	バージョンとライセンス情報を表示する