diff options
author | Mike Pavone <pavone@retrodev.com> | 2013-04-16 09:31:21 -0700 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2013-04-16 09:31:21 -0700 |
commit | 6d83bfe89548daa312e40efda6c1200993d24523 (patch) | |
tree | fc1b454f7beda74f18d49776ad3bf17c2e18f555 /x86_backend.h | |
parent | e73320f72e5d2a10714672bdbc59e87849100585 (diff) |
Small bit of cleanup
Diffstat (limited to 'x86_backend.h')
-rw-r--r-- | x86_backend.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/x86_backend.h b/x86_backend.h new file mode 100644 index 0000000..2bfac7e --- /dev/null +++ b/x86_backend.h @@ -0,0 +1,18 @@ +#ifndef X86_BACKEND_H_ +#define X86_BACKEND_H_ + +typedef struct { + int32_t disp; + uint8_t mode; + uint8_t base; + uint8_t index; + uint8_t cycles; +} x86_ea; + +typedef struct { + uint8_t *base; + int32_t *offsets; +} native_map_slot; + +#endif //X86_BACKEND_H_ + |