#include <hc11.h>
#include <stdio.h>


#define LEDCON0	*(unsigned char volatile *)(0xb580)
#define LEDDIGIT3 *(unsigned char volatile *)(0xb587)
#define LEDDIGIT2 *(unsigned char volatile *)(0xb586)
#define LEDDIGIT1 *(unsigned char volatile *)(0xb585)
#define LEDDIGIT0 *(unsigned char volatile *)(0xb584)
#define LEDCON1	  *(unsigned char volatile *)(0xb588)
#define LEDDIGIT4 *(unsigned char volatile *)(0xb58c)
#define LEDDIGIT5 *(unsigned char volatile *)(0xb58d)
#define LEDDIGIT6 *(unsigned char volatile *)(0xb58e)
#define LEDDIGIT7 *(unsigned char volatile *)(0xb58f)
void main (void)
{	 
	 int LEDCON2[8]={0xb580,0xb584,0xb585,0xb586,0xb587};
	 int LEDCON3[8]={0xb588,0xb58c,0xb58d,0xb58e,0xb58f};
	 int count=1, address=0;
	 LEDCON0 = 0x02;
	 LEDCON1 = 0X02;
	 *LEDCON2Prt;
	 address=LEDCON2Prt;
	 while(count>=8){
	 printf("IEEE\n",address);
	 count++;
	 }
	 
	 
	 	 
}
