diff options
author | sanine <sanine.not@pm.me> | 2023-05-22 23:56:50 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-05-22 23:56:50 -0500 |
commit | 6a4548df5e405adb080320080c67b7054b75bcaf (patch) | |
tree | e75502d7fde865d27a689a14794b023ad3bc88d0 /src/vm/core.js | |
parent | c1709249728cb9ad7011b0d39d18ad87d4636f4b (diff) |
implement MOV
Diffstat (limited to 'src/vm/core.js')
-rw-r--r-- | src/vm/core.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/core.js b/src/vm/core.js index 399cfc6..074e156 100644 --- a/src/vm/core.js +++ b/src/vm/core.js @@ -11,8 +11,8 @@ class Core { for (let i=0; i<size; i++) { this.data[i] = { opcode: Op.DAT, - a: { value: 0, mode: AddrMode.Direct }, - b: { value: 0, mode: AddrMode.Direct }, + a: { value: 0, mode: AddrMode.Immediate }, + b: { value: 0, mode: AddrMode.Immediate }, }; } } |