@specy/risc-v 1.0.8 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1237 -1229
- package/dist/index.mjs +1236 -1229
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -469,7 +469,7 @@ interface JsRiscV {
|
|
|
469
469
|
* @param register The name of the register.
|
|
470
470
|
* @param value The value to set the register to.
|
|
471
471
|
*/
|
|
472
|
-
setRegisterValue(register: RegisterName,
|
|
472
|
+
setRegisterValue(register: RegisterName, high: number, low: number): void;
|
|
473
473
|
/**
|
|
474
474
|
* Checks if the simulation has terminated.
|
|
475
475
|
* @returns True if the simulation has terminated, false otherwise.
|
|
@@ -486,5 +486,6 @@ declare function makeRiscVfromSource(source: string): JsRiscV;
|
|
|
486
486
|
* Initializes the RISCV simulator.
|
|
487
487
|
*/
|
|
488
488
|
declare function initializeRISCV(): void;
|
|
489
|
+
declare function bigintToHighLow(value: bigint): [high: number, low: number];
|
|
489
490
|
|
|
490
|
-
export { BackStepAction, ConfirmResult, DialogType, type HandlerMap, type HandlerMapFns, type JsBackStep, type JsInstruction, type JsInstructionToken, type JsProgramStatement, type JsRiscV, type JsRiscVStackFrame, RISCV, type RISCVAssembleError, type RISCVAssembleResult, RISCVRegisters, RISCV_REGISTERS, type RegisterName, type RiscvTokenizedLine, StopReason, registerHandlers, unimplementedHandler };
|
|
491
|
+
export { BackStepAction, ConfirmResult, DialogType, type HandlerMap, type HandlerMapFns, type JsBackStep, type JsInstruction, type JsInstructionToken, type JsProgramStatement, type JsRiscV, type JsRiscVStackFrame, RISCV, type RISCVAssembleError, type RISCVAssembleResult, RISCVRegisters, RISCV_REGISTERS, type RegisterName, type RiscvTokenizedLine, StopReason, bigintToHighLow, registerHandlers, unimplementedHandler };
|
package/dist/index.d.ts
CHANGED
|
@@ -469,7 +469,7 @@ interface JsRiscV {
|
|
|
469
469
|
* @param register The name of the register.
|
|
470
470
|
* @param value The value to set the register to.
|
|
471
471
|
*/
|
|
472
|
-
setRegisterValue(register: RegisterName,
|
|
472
|
+
setRegisterValue(register: RegisterName, high: number, low: number): void;
|
|
473
473
|
/**
|
|
474
474
|
* Checks if the simulation has terminated.
|
|
475
475
|
* @returns True if the simulation has terminated, false otherwise.
|
|
@@ -486,5 +486,6 @@ declare function makeRiscVfromSource(source: string): JsRiscV;
|
|
|
486
486
|
* Initializes the RISCV simulator.
|
|
487
487
|
*/
|
|
488
488
|
declare function initializeRISCV(): void;
|
|
489
|
+
declare function bigintToHighLow(value: bigint): [high: number, low: number];
|
|
489
490
|
|
|
490
|
-
export { BackStepAction, ConfirmResult, DialogType, type HandlerMap, type HandlerMapFns, type JsBackStep, type JsInstruction, type JsInstructionToken, type JsProgramStatement, type JsRiscV, type JsRiscVStackFrame, RISCV, type RISCVAssembleError, type RISCVAssembleResult, RISCVRegisters, RISCV_REGISTERS, type RegisterName, type RiscvTokenizedLine, StopReason, registerHandlers, unimplementedHandler };
|
|
491
|
+
export { BackStepAction, ConfirmResult, DialogType, type HandlerMap, type HandlerMapFns, type JsBackStep, type JsInstruction, type JsInstructionToken, type JsProgramStatement, type JsRiscV, type JsRiscVStackFrame, RISCV, type RISCVAssembleError, type RISCVAssembleResult, RISCVRegisters, RISCV_REGISTERS, type RegisterName, type RiscvTokenizedLine, StopReason, bigintToHighLow, registerHandlers, unimplementedHandler };
|