/*
 * Sample Program for microVIEW-G(x)
 * <<< samp0.c >>>
 * 1995 @ advice Yokogawa Digital Computer Corp.
 */

/*
 * Include Files
 */

#include        "samp0.h"

/*
 * Data Definition
 */

// rev 2
double  SystemCounter;

struct  SAMP_DATA samp_data[SAMP_DATA_MAX];

short   GlobalCounter;

long    InterCounter;

char    MasterStr[STRSIZ];

struct BITFLD {
    int         m1:5;
    int         m2:4;
    int         m3:3;
} bitfld;

struct BITFLD2 {
    unsigned long *pp;
    unsigned char xx:2;
    unsigned char yy:6;
    unsigned int zz;
} bitfld2;

asm(" .global __heap_base\n"
" .equ __heap_base, 0x400000\n" /* equal to the start of the heap */
" .global __heap_limit\n"
" .equ __heap_limit, 0x800000\n" /* equal to the end of the heap */
);

asm(" .global __initial_sp\n"
" .equ __initial_sp, 0x880100000\n" /* equal to the top of the stack */
);

/* EOF */
