1
0
mirror of https://github.com/emkay/parser-6502.git synced 2024-12-20 23:30:57 +00:00
parser-6502/example/index.js
2016-10-12 20:19:46 -07:00

6 lines
168 B
JavaScript

const fs = require('fs')
const parser = require('..')
const input = fs.readFileSync(`${__dirname}/example.s`, 'utf-8')
const r = parser(input)
console.log(r[102].args)