The program memory space of NY8A050D is 512 words. Therefore, the Program Counter (PC) is 9 bit wide in order to address any location of program memory. Some locations of program memory are reserved as interrupt entrance. Power-On Reset vector is located at 0x000. Software interrupt vector is located at 0x001. Internal and external hardware interrupt vector is located at 0x008. NY8A050D provides