nes-emu
Version:
A NES emulator
19 lines (18 loc) • 462 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
/**
* "Implicit" addressing mode.
*
* There's no extra parameter, it's implied by the instruction.
*/
var _default = exports.default = {
id: "IMPLICIT",
parameterSize: 0,
getAddress: context => null,
getValue: () => {
throw new Error("The IMPLICIT addressing mode only supports the `getAddress` method (and it always returns null)");
}
};