hitachi_hm53462_rop.h File Reference

Back to the index.

Macros
hitachi_hm53462_rop.h File Reference

Go to the source code of this file.

Macros

#define W(addr)   ((u_int32_t *)(addr))
 
#define R(addr)   ((u_int32_t *)((u_int8_t *)(addr) + 0x40000))
 
#define P0(addr)   ((u_int32_t *)((u_int8_t *)(addr) + 0x40000))
 
#define P1(addr)   ((u_int32_t *)((u_int8_t *)(addr) + 0x80000))
 
#define P2(addr)   ((u_int32_t *)((u_int8_t *)(addr) + 0xC0000))
 
#define P3(addr)   ((u_int32_t *)((u_int8_t *)(addr) + 0x100000))
 
#define RR_CLEAR   0x0
 
#define RR_COPY   0x3
 
#define ROP_ZERO   0 /* all 0 */
 
#define ROP_AND1   1 /* D & M */
 
#define ROP_AND2   2 /* ~D & M */
 
#define ROP_AND3   4 /* D & ~M */
 
#define ROP_THROUGH   5 /* D */
 
#define ROP_EOR   6 /* (~D & M) | (D & ~M) */
 
#define ROP_OR1   7 /* D | M */
 
#define ROP_NOR   8 /* ~D | ~M */
 
#define ROP_ENOR   9 /* (D & M) | (~D & ~M) */
 
#define ROP_INV1   10 /* ~D */
 
#define ROP_OR2   11 /* ~D | M */
 
#define ROP_INV2   12 /* ~M */
 
#define ROP_OR3   13 /* D | ~M */
 
#define ROP_NAND   14 /* ~D | ~M */
 
#define ROP_ONE   15 /* all 1 */
 

Macro Definition Documentation

◆ P0

#define P0 (   addr)    ((u_int32_t *)((u_int8_t *)(addr) + 0x40000))

Definition at line 27 of file hitachi_hm53462_rop.h.

◆ P1

#define P1 (   addr)    ((u_int32_t *)((u_int8_t *)(addr) + 0x80000))

Definition at line 28 of file hitachi_hm53462_rop.h.

◆ P2

#define P2 (   addr)    ((u_int32_t *)((u_int8_t *)(addr) + 0xC0000))

Definition at line 29 of file hitachi_hm53462_rop.h.

◆ P3

#define P3 (   addr)    ((u_int32_t *)((u_int8_t *)(addr) + 0x100000))

Definition at line 30 of file hitachi_hm53462_rop.h.

◆ R

#define R (   addr)    ((u_int32_t *)((u_int8_t *)(addr) + 0x40000))

Definition at line 26 of file hitachi_hm53462_rop.h.

◆ ROP_AND1

#define ROP_AND1   1 /* D & M */

Definition at line 52 of file hitachi_hm53462_rop.h.

◆ ROP_AND2

#define ROP_AND2   2 /* ~D & M */

Definition at line 53 of file hitachi_hm53462_rop.h.

◆ ROP_AND3

#define ROP_AND3   4 /* D & ~M */

Definition at line 55 of file hitachi_hm53462_rop.h.

◆ ROP_ENOR

#define ROP_ENOR   9 /* (D & M) | (~D & ~M) */

Definition at line 60 of file hitachi_hm53462_rop.h.

◆ ROP_EOR

#define ROP_EOR   6 /* (~D & M) | (D & ~M) */

Definition at line 57 of file hitachi_hm53462_rop.h.

◆ ROP_INV1

#define ROP_INV1   10 /* ~D */

Definition at line 61 of file hitachi_hm53462_rop.h.

◆ ROP_INV2

#define ROP_INV2   12 /* ~M */

Definition at line 63 of file hitachi_hm53462_rop.h.

◆ ROP_NAND

#define ROP_NAND   14 /* ~D | ~M */

Definition at line 65 of file hitachi_hm53462_rop.h.

◆ ROP_NOR

#define ROP_NOR   8 /* ~D | ~M */

Definition at line 59 of file hitachi_hm53462_rop.h.

◆ ROP_ONE

#define ROP_ONE   15 /* all 1 */

Definition at line 66 of file hitachi_hm53462_rop.h.

◆ ROP_OR1

#define ROP_OR1   7 /* D | M */

Definition at line 58 of file hitachi_hm53462_rop.h.

◆ ROP_OR2

#define ROP_OR2   11 /* ~D | M */

Definition at line 62 of file hitachi_hm53462_rop.h.

◆ ROP_OR3

#define ROP_OR3   13 /* D | ~M */

Definition at line 64 of file hitachi_hm53462_rop.h.

◆ ROP_THROUGH

#define ROP_THROUGH   5 /* D */

Definition at line 56 of file hitachi_hm53462_rop.h.

◆ ROP_ZERO

#define ROP_ZERO   0 /* all 0 */

Definition at line 51 of file hitachi_hm53462_rop.h.

◆ RR_CLEAR

#define RR_CLEAR   0x0

Definition at line 35 of file hitachi_hm53462_rop.h.

◆ RR_COPY

#define RR_COPY   0x3

Definition at line 36 of file hitachi_hm53462_rop.h.

◆ W

#define W (   addr)    ((u_int32_t *)(addr))

Definition at line 25 of file hitachi_hm53462_rop.h.


Generated on Sun Sep 30 2018 16:05:18 for GXemul by doxygen 1.8.13