summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2019-07-14 22:24:27 +0300
committerOxore <oxore@protonmail.com>2019-07-14 22:24:27 +0300
commitdb5eddf74f52cf10b7342c8d261dd25b49a31700 (patch)
tree952e350e49588a4d5d794d0173f84cc4e56b0fed /src/main.rs
parent7350d34209983f2943fc28ef0b63d3d87167efeb (diff)
Rework internal operation concept
Rename enum Op to Opcode. Create struct Op that contains all the info about instruction. Implement immutable fetch method that is meant to get the whole instruction. Add exec method skeleton. Add opcodes of NOP, PUSH and POP. Still Don't know what to do with illegal operations.
Diffstat (limited to 'src/main.rs')
0 files changed, 0 insertions, 0 deletions