s502 assembler
A very simple assembler for the 6502 line of processors written in C
|
AddressMode enum and related data. More...
Go to the source code of this file.
Enumerations | |
enum | AddressMode { ADRM_ACC = 0, ADRM_ABS, ADRM_ABS_X, ADRM_ABS_Y, ADRM_IMM, ADRM_IMP, ADRM_IND, ADRM_IND_X, ADRM_IND_Y, ADRM_REL, ADRM_ZPG, ADRM_ZPG_X, ADRM_ZPG_Y, ADRM_COUNT } |
Possible address modes of an instruction. More... | |
Variables | |
int | ADRM_SIZES [ADRM_COUNT+1] |
operand sizes of addressmodes More... | |
const char * | ADRM_NAMES [ADRM_COUNT+1] |
Human-readable names of address modes. More... | |
AddressMode enum and related data.
Definition in file addressmode.h.
enum AddressMode |
Possible address modes of an instruction.
Definition at line 10 of file addressmode.h.
|
extern |
Human-readable names of address modes.
Can be used to pretty print if indexed by enum value
Definition at line 16 of file addressmode.c.
Referenced by instruction_print(), pass_one(), and token_analyze_instruction().
|
extern |
operand sizes of addressmodes
Definition at line 37 of file addressmode.c.
Referenced by token_analyze_instruction().