view x86_backend.h @ 216:0b5ec22dcda2

Fix some bugs related to sign-extension of address registers and pre-decrement amount for a7 when used as a source.
author Mike Pavone <pavone@retrodev.com>
date Fri, 19 Apr 2013 21:36:54 -0700
parents 464513050c85
children d9bf8e61c33c
line wrap: on
line source

#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_