;-----------------------------------------------------------------------
;WinSTon 68000 effective address execution
;-----------------------------------------------------------------------

;Lookup <ea> and return in 'bl','bx' or 'ebx'
EFFADDR_READ MACRO
	call	DWORD PTR DECODE_EA[ecx]
	ENDM
;Load <ea> into 'ebx'
LEFFADDR_LONG MACRO
	call	DWORD PTR DECODE_EA[ecx]
	ENDM

;-----------------------------------------------------------------------
PUBLIC _effaddr_read_111_011_byte
PUBLIC _effaddr_read_111_011_word
PUBLIC _effaddr_read_111_011_long
PUBLIC _loadeffaddr_111_011
PUBLIC _effaddr_read_111_010_byte
PUBLIC _effaddr_read_111_010_word
PUBLIC _effaddr_read_111_010_long
PUBLIC _loadeffaddr_111_010
PUBLIC _effaddr_read_111_100_byte
PUBLIC _effaddr_read_111_100_word
PUBLIC _effaddr_read_111_100_long
PUBLIC _effaddr_read_111_001_byte
PUBLIC _effaddr_read_111_001_word
PUBLIC _effaddr_read_111_001_long
PUBLIC _loadeffaddr_111_001
PUBLIC _effaddr_read_111_000_byte
PUBLIC _effaddr_read_111_000_word
PUBLIC _effaddr_read_111_000_long
PUBLIC _loadeffaddr_111_000
PUBLIC _effaddr_read_110_byte
PUBLIC _effaddr_read_110_word
PUBLIC _effaddr_read_110_long
PUBLIC _loadeffaddr_110
PUBLIC _effaddr_read_101_byte
PUBLIC _effaddr_read_101_word
PUBLIC _effaddr_read_101_long
PUBLIC _loadeffaddr_101
PUBLIC _effaddr_read_100_byte
PUBLIC _effaddr_read_100_byte_A7
PUBLIC _effaddr_read_100_word
PUBLIC _effaddr_read_100_long
PUBLIC _effaddr_read_011_byte
PUBLIC _effaddr_read_011_byte_A7
PUBLIC _effaddr_read_011_word
PUBLIC _effaddr_read_011_long
PUBLIC _effaddr_read_010_byte
PUBLIC _effaddr_read_010_word
PUBLIC _effaddr_read_010_long
PUBLIC _loadeffaddr_010
PUBLIC _effaddr_read_001_A0
PUBLIC _effaddr_read_001_A1
PUBLIC _effaddr_read_001_A2
PUBLIC _effaddr_read_001_A3
PUBLIC _effaddr_read_001_A4
PUBLIC _effaddr_read_001_A5
PUBLIC _effaddr_read_001_A6
PUBLIC _effaddr_read_001_A7
PUBLIC _effaddr_read_000_D0
PUBLIC _effaddr_read_000_D1
PUBLIC _effaddr_read_000_D2
PUBLIC _effaddr_read_000_D3
PUBLIC _effaddr_read_000_D4
PUBLIC _effaddr_read_000_D5
PUBLIC _effaddr_read_000_D6
PUBLIC _effaddr_read_000_D7
