@specy/x86 1.0.6 → 1.0.8
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.ts +6 -6
- package/dist/index.js +30 -32
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1346,11 +1346,11 @@ declare const X86InstructionNames: X86InstructionName[];
|
|
|
1346
1346
|
*/
|
|
1347
1347
|
declare enum X86ConditionFlags {
|
|
1348
1348
|
C = 0,// Carry flag
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1349
|
+
P = 1,// Parity flag
|
|
1350
|
+
A = 2,// Auxiliary carry flag
|
|
1351
|
+
Z = 3,// Zero flag
|
|
1352
|
+
S = 4,// Sign flag
|
|
1353
|
+
O = 5
|
|
1354
1354
|
}
|
|
1355
1355
|
/**
|
|
1356
1356
|
* Enumeration of x86 registers and their corresponding values
|
|
@@ -1498,7 +1498,7 @@ declare class X86Interpreter {
|
|
|
1498
1498
|
* @returns {number[]} Array of byte values
|
|
1499
1499
|
* @throws {Error} If reading memory fails
|
|
1500
1500
|
*/
|
|
1501
|
-
readMemoryBytes(address: number, length: number):
|
|
1501
|
+
readMemoryBytes(address: number, length: number): Uint8Array;
|
|
1502
1502
|
/**
|
|
1503
1503
|
* Writes bytes to memory
|
|
1504
1504
|
* @param {number} address - Memory address to write to
|