1
0
mirror of https://github.com/emkay/parser-6502.git synced 2024-12-21 15:29:19 +00:00
parser-6502/example/index.js

6 lines
168 B
JavaScript
Raw Normal View History

2016-10-12 23:41:28 +00:00
const fs = require('fs')
const parser = require('..')
const input = fs.readFileSync(`${__dirname}/example.s`, 'utf-8')
2016-10-12 23:41:28 +00:00
const r = parser(input)
console.log(r[102].args)