Back to index

cell-binutils  2.17cvs20070401
Defines | Variables
m68hc11-opc.c File Reference
#include <stdio.h>
#include "ansidecl.h"
#include "opcode/m68hc11.h"

Go to the source code of this file.

Defines

#define TABLE_SIZE(X)   (sizeof(X) / sizeof(X[0]))
#define M6811_ZC_BIT   M6811_Z_BIT|M6811_C_BIT
#define M6811_NZ_BIT   M6811_N_BIT|M6811_Z_BIT
#define M6811_NZV_BIT   M6811_N_BIT|M6811_Z_BIT|M6811_V_BIT
#define M6811_NZC_BIT   M6811_N_BIT|M6811_Z_BIT|M6811_C_BIT
#define M6811_NVC_BIT   M6811_N_BIT|M6811_V_BIT|M6811_C_BIT
#define M6811_ZVC_BIT   M6811_Z_BIT|M6811_V_BIT|M6811_C_BIT
#define M6811_NZVC_BIT   M6811_ZVC_BIT|M6811_N_BIT
#define M6811_HNZVC_BIT   M6811_NZVC_BIT|M6811_H_BIT
#define M6811_HNVC_BIT   M6811_NVC_BIT|M6811_H_BIT
#define M6811_VC_BIT   M6811_V_BIT|M6811_C_BIT
#define CHG_NONE   0,0,0
#define CHG_Z   0,0,M6811_Z_BIT
#define CHG_C   0,0,M6811_C_BIT
#define CHG_ZVC   0,0,M6811_ZVC_BIT
#define CHG_NZC   0,0,M6811_NZC_BIT
#define CHG_NZV   0,0,M6811_NZV_BIT
#define CHG_NZVC   0,0,M6811_NZVC_BIT
#define CHG_HNZVC   0,0,M6811_HNZVC_BIT
#define CHG_ALL   0,0,0xff
#define CLR_I   0,M6811_I_BIT,0
#define CLR_C   0,M6811_C_BIT,0
#define CLR_V   0,M6811_V_BIT,0
#define CLR_V_CHG_ZC   0,M6811_V_BIT,M6811_ZC_BIT
#define CLR_V_CHG_NZ   0,M6811_V_BIT,M6811_NZ_BIT
#define CLR_V_CHG_ZVC   0,M6811_V_BIT,M6811_ZVC_BIT
#define CLR_N_CHG_ZVC   0,M6811_N_BIT,M6811_ZVC_BIT /* Used by lsr */
#define CLR_VC_CHG_NZ   0,M6811_VC_BIT,M6811_NZ_BIT
#define SET_I   M6811_I_BIT,0,0
#define SET_C   M6811_C_BIT,0,0
#define SET_V   M6811_V_BIT,0,0
#define SET_Z_CLR_NVC   M6811_Z_BIT,M6811_NVC_BIT,0
#define SET_C_CLR_V_CHG_NZ   M6811_C_BIT,M6811_V_BIT,M6811_NZ_BIT
#define SET_Z_CHG_HNVC   M6811_Z_BIT,0,M6811_HNVC_BIT
#define _M   0xff
#define OP_NONE   M6811_OP_NONE
#define OP_PAGE2   M6811_OP_PAGE2
#define OP_PAGE3   M6811_OP_PAGE3
#define OP_PAGE4   M6811_OP_PAGE4
#define OP_IMM8   M6811_OP_IMM8
#define OP_IMM16   M6811_OP_IMM16
#define OP_IX   M6811_OP_IX
#define OP_IY   M6811_OP_IY
#define OP_IND16   M6811_OP_IND16
#define OP_PAGE   M6812_OP_PAGE
#define OP_IDX   M6812_OP_IDX
#define OP_IDX_1   M6812_OP_IDX_1
#define OP_IDX_2   M6812_OP_IDX_2
#define OP_D_IDX   M6812_OP_D_IDX
#define OP_D_IDX_2   M6812_OP_D_IDX_2
#define OP_DIRECT   M6811_OP_DIRECT
#define OP_BITMASK   M6811_OP_BITMASK
#define OP_BRANCH   M6811_OP_BRANCH
#define OP_JUMP_REL   (M6811_OP_JUMP_REL|OP_BRANCH)
#define OP_JUMP_REL16   (M6812_OP_JUMP_REL16|OP_BRANCH)
#define OP_REG   M6812_OP_REG
#define OP_REG_1   M6812_OP_REG
#define OP_REG_2   M6812_OP_REG_2
#define OP_IDX_p2   M6812_OP_IDX_P2
#define OP_IND16_p2   M6812_OP_IND16_P2
#define OP_TRAP_ID   M6812_OP_TRAP_ID
#define OP_EXG_MARKER   M6812_OP_EXG_MARKER
#define OP_TFR_MARKER   M6812_OP_TFR_MARKER
#define OP_DBEQ_MARKER   (M6812_OP_DBCC_MARKER|M6812_OP_EQ_MARKER)
#define OP_DBNE_MARKER   (M6812_OP_DBCC_MARKER)
#define OP_TBEQ_MARKER   (M6812_OP_TBCC_MARKER|M6812_OP_EQ_MARKER)
#define OP_TBNE_MARKER   (M6812_OP_TBCC_MARKER)
#define OP_IBEQ_MARKER   (M6812_OP_IBCC_MARKER|M6812_OP_EQ_MARKER)
#define OP_IBNE_MARKER   (M6812_OP_IBCC_MARKER)

Variables

const int m68hc11_num_opcodes = TABLE_SIZE (m68hc11_opcodes)
const int m68hc12_num_alias = TABLE_SIZE (m68hc12_alias)

Define Documentation

#define _M   0xff

Definition at line 69 of file m68hc11-opc.c.

#define CHG_ALL   0,0,0xff

Definition at line 49 of file m68hc11-opc.c.

#define CHG_C   0,0,M6811_C_BIT

Definition at line 43 of file m68hc11-opc.c.

#define CHG_HNZVC   0,0,M6811_HNZVC_BIT

Definition at line 48 of file m68hc11-opc.c.

#define CHG_NONE   0,0,0

Definition at line 41 of file m68hc11-opc.c.

#define CHG_NZC   0,0,M6811_NZC_BIT

Definition at line 45 of file m68hc11-opc.c.

#define CHG_NZV   0,0,M6811_NZV_BIT

Definition at line 46 of file m68hc11-opc.c.

#define CHG_NZVC   0,0,M6811_NZVC_BIT

Definition at line 47 of file m68hc11-opc.c.

#define CHG_Z   0,0,M6811_Z_BIT

Definition at line 42 of file m68hc11-opc.c.

#define CHG_ZVC   0,0,M6811_ZVC_BIT

Definition at line 44 of file m68hc11-opc.c.

#define CLR_C   0,M6811_C_BIT,0

Definition at line 53 of file m68hc11-opc.c.

#define CLR_I   0,M6811_I_BIT,0

Definition at line 52 of file m68hc11-opc.c.

#define CLR_N_CHG_ZVC   0,M6811_N_BIT,M6811_ZVC_BIT /* Used by lsr */

Definition at line 58 of file m68hc11-opc.c.

#define CLR_V   0,M6811_V_BIT,0

Definition at line 54 of file m68hc11-opc.c.

Definition at line 56 of file m68hc11-opc.c.

Definition at line 55 of file m68hc11-opc.c.

Definition at line 57 of file m68hc11-opc.c.

Definition at line 59 of file m68hc11-opc.c.

Definition at line 37 of file m68hc11-opc.c.

Definition at line 36 of file m68hc11-opc.c.

Definition at line 33 of file m68hc11-opc.c.

Definition at line 30 of file m68hc11-opc.c.

Definition at line 32 of file m68hc11-opc.c.

Definition at line 31 of file m68hc11-opc.c.

Definition at line 35 of file m68hc11-opc.c.

Definition at line 38 of file m68hc11-opc.c.

Definition at line 29 of file m68hc11-opc.c.

Definition at line 34 of file m68hc11-opc.c.

Definition at line 86 of file m68hc11-opc.c.

#define OP_BRANCH   M6811_OP_BRANCH

Definition at line 87 of file m68hc11-opc.c.

#define OP_D_IDX   M6812_OP_D_IDX

Definition at line 83 of file m68hc11-opc.c.

Definition at line 84 of file m68hc11-opc.c.

Definition at line 98 of file m68hc11-opc.c.

Definition at line 99 of file m68hc11-opc.c.

#define OP_DIRECT   M6811_OP_DIRECT

Definition at line 85 of file m68hc11-opc.c.

Definition at line 96 of file m68hc11-opc.c.

Definition at line 102 of file m68hc11-opc.c.

Definition at line 103 of file m68hc11-opc.c.

#define OP_IDX   M6812_OP_IDX

Definition at line 80 of file m68hc11-opc.c.

#define OP_IDX_1   M6812_OP_IDX_1

Definition at line 81 of file m68hc11-opc.c.

#define OP_IDX_2   M6812_OP_IDX_2

Definition at line 82 of file m68hc11-opc.c.

#define OP_IDX_p2   M6812_OP_IDX_P2

Definition at line 93 of file m68hc11-opc.c.

#define OP_IMM16   M6811_OP_IMM16

Definition at line 75 of file m68hc11-opc.c.

#define OP_IMM8   M6811_OP_IMM8

Definition at line 74 of file m68hc11-opc.c.

#define OP_IND16   M6811_OP_IND16

Definition at line 78 of file m68hc11-opc.c.

Definition at line 94 of file m68hc11-opc.c.

#define OP_IX   M6811_OP_IX

Definition at line 76 of file m68hc11-opc.c.

#define OP_IY   M6811_OP_IY

Definition at line 77 of file m68hc11-opc.c.

Definition at line 88 of file m68hc11-opc.c.

Definition at line 89 of file m68hc11-opc.c.

#define OP_NONE   M6811_OP_NONE

Definition at line 70 of file m68hc11-opc.c.

#define OP_PAGE   M6812_OP_PAGE

Definition at line 79 of file m68hc11-opc.c.

#define OP_PAGE2   M6811_OP_PAGE2

Definition at line 71 of file m68hc11-opc.c.

#define OP_PAGE3   M6811_OP_PAGE3

Definition at line 72 of file m68hc11-opc.c.

#define OP_PAGE4   M6811_OP_PAGE4

Definition at line 73 of file m68hc11-opc.c.

#define OP_REG   M6812_OP_REG

Definition at line 90 of file m68hc11-opc.c.

#define OP_REG_1   M6812_OP_REG

Definition at line 91 of file m68hc11-opc.c.

#define OP_REG_2   M6812_OP_REG_2

Definition at line 92 of file m68hc11-opc.c.

Definition at line 100 of file m68hc11-opc.c.

Definition at line 101 of file m68hc11-opc.c.

Definition at line 97 of file m68hc11-opc.c.

Definition at line 95 of file m68hc11-opc.c.

#define SET_C   M6811_C_BIT,0,0

Definition at line 63 of file m68hc11-opc.c.

Definition at line 66 of file m68hc11-opc.c.

#define SET_I   M6811_I_BIT,0,0

Definition at line 62 of file m68hc11-opc.c.

#define SET_V   M6811_V_BIT,0,0

Definition at line 64 of file m68hc11-opc.c.

Definition at line 67 of file m68hc11-opc.c.

Definition at line 65 of file m68hc11-opc.c.

#define TABLE_SIZE (   X)    (sizeof(X) / sizeof(X[0]))

Definition at line 26 of file m68hc11-opc.c.


Variable Documentation

const int m68hc11_num_opcodes = TABLE_SIZE (m68hc11_opcodes)

Definition at line 1058 of file m68hc11-opc.c.

Definition at line 1082 of file m68hc11-opc.c.