momiji

m68k emulator infrastructure

About Source code

Table of contents

momiji::operands::AddressOffset

Defined in header <momiji/Parser.h>

struct AddressOffset

An operand in the form (X, a*) where ‘*’ is any number from 0 to 7 and ‘X’ is any compile-time expression. This references the address inside an address register plus the value of ‘X’.

Member fields

Field Type Notes Default value
offset

std::unique_ptr

The AST representing the value of the offset.

reg

std::int32_t

The number of the address register. (eg: 0 is the first, 7 is the eight)

In (X, a*), ‘X’ is any compile-time expression, see AST objects for some examples.