Skip to content

Commit

Permalink
Merge pull request #2 from dmykyten/mykytenko
Browse files Browse the repository at this point in the history
Partial fix of issue ucu-computer-science#9(arithmetical + logical)
  • Loading branch information
dmykyten authored Dec 29, 2022
2 parents 999e72e + 82e79b7 commit 865db2a
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions modules/instructions.json
Original file line number Diff line number Diff line change
Expand Up @@ -1222,6 +1222,14 @@
"reg"
]
],
"10010001": [
"add",
"firstop",
[
"reg",
"imm"
]
],
"01100110": [
"sub",
"firstop",
Expand Down Expand Up @@ -1254,6 +1262,14 @@
"reg"
]
],
"10010010": [
"sub",
"firstop",
[
"reg",
"imm"
]
],
"00000011": [
"inc",
"firstop",
Expand Down Expand Up @@ -1398,6 +1414,14 @@
"memreg"
]
],
"10010011": [
"and",
"firstop",
[
"reg",
"imm"
]
],
"01110001": [
"or",
"firstop",
Expand All @@ -1414,6 +1438,14 @@
"memreg"
]
],
"10010100": [
"or",
"firstop",
[
"reg",
"imm"
]
],
"01110011": [
"xor",
"firstop",
Expand All @@ -1430,6 +1462,14 @@
"memreg"
]
],
"10010101": [
"xor",
"firstop",
[
"reg",
"imm"
]
],
"00000111": [
"not",
"firstop",
Expand Down Expand Up @@ -1574,6 +1614,30 @@
"memregoff"
]
],
"10010110": [
"test",
"flags",
[
"reg",
"imm"
]
],
"10010111": [
"test",
"flags",
[
"imm",
"reg"
]
],
"11000101": [
"test",
"flags",
[
"imm",
"imm"
]
],
"01000011": [
"jmp",
"jmp",
Expand Down

0 comments on commit 865db2a

Please sign in to comment.