diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-21 23:40:03 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-21 23:40:03 +0100 |
commit | f9b2c8ed777148739eae4ef050eb66b02cddbd51 (patch) | |
tree | 98027d989932f3dee2e14ff5affa7508e1cdd36e /src/main.c | |
parent | d2cdb211b2d15c3a15b15737645f2a68641f34ee (diff) | |
download | ovm-f9b2c8ed777148739eae4ef050eb66b02cddbd51.tar.gz ovm-f9b2c8ed777148739eae4ef050eb66b02cddbd51.tar.bz2 ovm-f9b2c8ed777148739eae4ef050eb66b02cddbd51.zip |
Cleaned up and used macro magic to shorten the INST_* macros
Instead of having 3 differing macros for each typed version of each
opcode, just supply the type as a symbol to the macro, which will
concatenated the type to all the places necessary.
Relies on D(BYTE|HWORD|WORD) and OP_*_(BYTE|HWORD|WORD) being a
consistent naming style.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions