@specy/risc-v 1.0.3 → 1.0.4

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 CHANGED
@@ -398,7 +398,7 @@ interface JsRiscV {
398
398
  * @param register The name of the register.
399
399
  * @returns The value of the register in long format.
400
400
  */
401
- getRegisterValueLong(register: RegisterName): bigint;
401
+ getRegisterValueLong(register: RegisterName): string;
402
402
  /**
403
403
  * Registers a handler function for a specific event or condition.
404
404
  * @param name The name of the event or condition.
@@ -414,7 +414,7 @@ interface JsRiscV {
414
414
  * Gets the current value of the stack pointer in long format.
415
415
  * @returns The value of the stack pointer in long format.
416
416
  */
417
- stackPointerLong: bigint;
417
+ stackPointerLong: string;
418
418
  /**
419
419
  * Gets the current value of the program counter.
420
420
  * @returns The value of the program counter.
@@ -424,7 +424,7 @@ interface JsRiscV {
424
424
  * Gets the current value of the program counter in long format.
425
425
  * @returns The value of the program counter in long format.
426
426
  */
427
- programCounterLong: bigint;
427
+ programCounterLong: string;
428
428
  /**
429
429
  * Gets the values of all registers.
430
430
  * @returns An array containing the register values. The order of the values is implementation defined.
@@ -434,7 +434,7 @@ interface JsRiscV {
434
434
  * Gets the values of all registers in long format.
435
435
  * @returns An array containing the register values in long format. The order of the values is implementation defined.
436
436
  */
437
- getRegistersValuesLong(): bigint[];
437
+ getRegistersValuesLong(): string[];
438
438
  /**
439
439
  * Gets the undo stack.
440
440
  * @returns An array of `JsBackStep` objects representing the history of the simulation.
package/dist/index.d.ts CHANGED
@@ -398,7 +398,7 @@ interface JsRiscV {
398
398
  * @param register The name of the register.
399
399
  * @returns The value of the register in long format.
400
400
  */
401
- getRegisterValueLong(register: RegisterName): bigint;
401
+ getRegisterValueLong(register: RegisterName): string;
402
402
  /**
403
403
  * Registers a handler function for a specific event or condition.
404
404
  * @param name The name of the event or condition.
@@ -414,7 +414,7 @@ interface JsRiscV {
414
414
  * Gets the current value of the stack pointer in long format.
415
415
  * @returns The value of the stack pointer in long format.
416
416
  */
417
- stackPointerLong: bigint;
417
+ stackPointerLong: string;
418
418
  /**
419
419
  * Gets the current value of the program counter.
420
420
  * @returns The value of the program counter.
@@ -424,7 +424,7 @@ interface JsRiscV {
424
424
  * Gets the current value of the program counter in long format.
425
425
  * @returns The value of the program counter in long format.
426
426
  */
427
- programCounterLong: bigint;
427
+ programCounterLong: string;
428
428
  /**
429
429
  * Gets the values of all registers.
430
430
  * @returns An array containing the register values. The order of the values is implementation defined.
@@ -434,7 +434,7 @@ interface JsRiscV {
434
434
  * Gets the values of all registers in long format.
435
435
  * @returns An array containing the register values in long format. The order of the values is implementation defined.
436
436
  */
437
- getRegistersValuesLong(): bigint[];
437
+ getRegistersValuesLong(): string[];
438
438
  /**
439
439
  * Gets the undo stack.
440
440
  * @returns An array of `JsBackStep` objects representing the history of the simulation.