/****************************************************************************
**
**  Name:  LDR695.H
**
**  Description:
**      All IEEE695 API's (external entry points) have the prefix: Ldr695
**      Major header file used by IEEE695 Loader.
**
**  Status:  CODED
**
**    Rev 1.0   20 Dec. 1995 12:00:00   Gates Hua
** Initial revision.
**
**  Copyright (C) 1995 Microtek International.  All rights reserved.
**
*****************************************************************************/
#ifndef _LDR695_H_
#define _LDR695_H_
                       /****************************
                        *                          *
                        *       INCLUDE FILES      *
                        *                          *
                        ****************************/


                       /****************************
                        *                          *
                        *        DEFINITIONS       *
                        *                          *
                        ****************************/

/* segment type */
#define SEGTYPE695_DATA     0
#define SEGTYPE695_CODE     1
#define SEGTYPE695_XDATA    2
#define SEGTYPE695_IDATA    3
#define SEGTYPE695_BITADDR  4
#define SEGTYPE695_BIT      5

/*
    IEEE695 format

    IEEE Standard for Nicroprocessor Universal Format for Object Modules

*/

#define IEEE_MB      0xE0
#define IEEE_AD      0xEC
#define IEEE_AS      0xE2
#define IEEE_ASW     0xD7

#define IEEE_ASW0    0x00
#define IEEE_NN      0xF0
#define IEEE_AT      0xF1
#define IEEE_ATN     0xCE
//#define IEEE_AS      0xE2
#define IEEE_ASN     0xCE

#define IEEE_ASW1    0x01

#define IEEE_ASW2    0x02
#define IEEE_ST      0xE6
#define IEEE_SA      0xE7
//#define IEEE_AS      0xE2
#define IEEE_ASS     0xD3
//#define IEEE_AS      0xE2
#define IEEE_ASL     0xCC
//#define IEEE_AS      0xE2
#define IEEE_ASR     0xD2
#define IEEE_NC      0xFB
//#define IEEE_AS      0xE2
#define IEEE_ASA     0xC1
//#define IEEE_AS      0xE2
#define IEEE_ASB     0xC2
//#define IEEE_AS      0xE2
#define IEEE_ASF     0xC6
//#define IEEE_AS      0xE2
#define IEEE_ASM     0xCD

#define IEEE_ASW3    0x03
#define IEEE_NI      0xE8
//#define IEEE_AT      0xF1
#define IEEE_ATI     0xC9
//#define IEEE_AS      0xE2
#define IEEE_ASI     0xC9
//#define IEEE_AS      0xE2
//#define IEEE_ASR     0xD2
#define IEEE_NX      0xE9
//#define IEEE_AT      0xF1
#define IEEE_ATX     0xD8
#define IEEE_WX      0xF4

#define IEEE_ASW4    0x04
#define IEEE_BB      0xF8
//#define IEEE_NN      0xF0
#define IEEE_TY      0xF2
#define IEEE_TY2      0xCE
//#define IEEE_AT      0xF1
//#define IEEE_ATN     0xCE
//#define IEEE_AS      0xE2
//#define IEEE_ASN     0xCE
//#define IEEE_AS      0xE2
//#define IEEE_ASR     0xD2
#define IEEE_BE      0xF9

#define IEEE_ASW5    0x05
#define IEEE_SB      0xE5
//#define IEEE_AS      0xE2
#define IEEE_ASP     0xD0
#define IEEE_LD      0xED
#define IEEE_IR      0xE3
#define IEEE_RE      0xF7
//#define IEEE_AS      0xE2
//#define IEEE_ASR     0xD2
//#define IEEE_AS      0xE2
//#define IEEE_ASR     0xD2
//#define IEEE_AS      0xE2
//#define IEEE_ASW     0xD7
#define IEEE_LR      0xE4
#define IEEE_LT      0xFA

#define IEEE_ASW6    0x06
//#define IEEE_AS      0xE2
#define IEEE_ASG     0xC7

#define IEEE_ASW7    0x07
#define IEEE_ME      0xE1
#define IEEE_EE      0xEE
#define IEEE_EF      0xEF
                                     
                       /****************************
                        *                          *
                        *        PROTOTYPES        *
                        *                          *
                        ****************************/

#endif
/******************************** E O F ***********************************/
