/* | /* | ||||
* Emulate a basic 6502 (MOS) chip. | * Emulate a basic 6502 (MOS) chip. | ||||
*/ | */ | ||||
const BITM = require('../../utils/bitman.js'); | |||||
var IMem = require('../../memory').IMem; | |||||
const BITM = require('../utils/bitman.js'); | |||||
var IMem = require('../memory').IMem; | |||||
// mode = 0 - Immediate | // mode = 0 - Immediate | ||||
// mode = 1 - Zero Page | // mode = 1 - Zero Page |
const expect = require('chai').expect; | const expect = require('chai').expect; | ||||
const Assembler = require('../src/chip/MOS6502/assembler.js'); | |||||
const Assembler = require('../src/MOS6502/assembler.js'); | |||||
describe("Testing MOS6502 Assembler...", function(){ | describe("Testing MOS6502 Assembler...", function(){ |
const expect = require('chai').expect; | const expect = require('chai').expect; | ||||
const CPU = require('../src/chip/MOS6502/cpu.js'); | |||||
const CPU = require('../src/MOS6502/cpu.js'); | |||||
const Mem = require('../src/memory'); | const Mem = require('../src/memory'); | ||||