Parser for 6502 assembler
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Michael Matuzak 8e5d69af1e chore(release): 1.0.3 4 years ago
example docs: fixing example and updating readme 7 years ago
parsers working 7 years ago
test working 7 years ago
.gitignore Initial commit 7 years ago
.travis.yml fix(audit): audit fix update + travis node version 4 years ago
CHANGELOG.md chore(release): 1.0.3 4 years ago
CODE_OF_CONDUCT.md docs(coc): updated CODE_OF_CONDUCT.md 6 years ago
CONTRIBUTING.md docs(contributing): updated CONTRIBUTING.md 6 years ago
LICENSE Initial commit 7 years ago
README.md Merge pull request #2 from emkay/greenkeeper/initial 6 years ago
index.js remove stuff 7 years ago
package-lock.json chore(release): 1.0.3 4 years ago
package.json chore(release): 1.0.3 4 years ago

README.md

parser-6502

Greenkeeper badge Parser for 6502 assembler

This is a parser written in javascript that will parse assembler written for the 6502 8-bit microprocessor.

Build Status Standard - JavaScript Style Guide Standard Version

Usage

const fs = require('fs')
const parser = require('parser-6502')
const input = fs.readFileSync('./asm.s', 'utf-8')
const result = parser(input)

console.log(result)

API

result = parser(input)

[
  {
    "directive": ".db",
    "args": [
      {
        "binary": "00000001"
      }
    ]
  }
]

Installation

npm i parser-6502

License

MIT