diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-22 22:01:14 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-22 22:02:53 +0100 |
commit | 7243ac253398708c79ed3883fe83d31037b4ce93 (patch) | |
tree | 6ec3bbe7cec9be7243fad727127f31eb3498e59a /src/base.h | |
parent | 1962aabdf5d5aa69e52afdeead360ccb4c0c9a49 (diff) | |
download | ovm-7243ac253398708c79ed3883fe83d31037b4ce93.tar.gz ovm-7243ac253398708c79ed3883fe83d31037b4ce93.tar.bz2 ovm-7243ac253398708c79ed3883fe83d31037b4ce93.zip |
Coupled some routines together, implemented OP_PLUS_*, -vm_peek
Routines that use the stack for their operands i.e. aren't supplied
operands directly all have the same signature. We may as well stick
them all together in one array and one conditional, just reduces the
number of branches. Also looks nicer.
Implemented OP_PLUS_*. Pretty simple to implement.
Deleted vm_peek as it was only necessary to update the `ret` register.
Diffstat (limited to 'src/base.h')
0 files changed, 0 insertions, 0 deletions