Home Download Musics Developers
API Sources Tools File Format Technicals

getea68.h File Reference


Detailed Description

68k effective address calculation function table.

Author:
Benjamin Gerard <ben@sashipa.com>
Date:
1999/03/13
Id
getea68.h,v 2.2 2003/10/29 06:50:41 benjihan Exp

#include "emu68/type68.h"

Go to the source code of this file.

Effective address calculation tables.

The get_ab[bwl] tables are used by EMU68 to calculate operand effective address.

Each of them is indexed by operand addressing mode. Each entry is a pointer to a function which do everything neccessary to update processor state (e.g. address register increment or decrement). Function parameter is register number coded in the three first bit (0 to 2) of 68k opcode. When the mode is 7, register parameter is used as an index in a second level function table for extended addressing mode.

u32(* get_eab [8])(u32 reg)
 Byte operand effective address calculation function table.

u32(* get_eaw [8])(u32 reg)
 Word operand effective address calculation function table.

u32(* get_eal [8])(u32 reg)
 Long operand effective address calculation function table.