The program memory space of NY8A051H is 1K words. Therefore, the Program Counter (PC) is 10-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.
NY8A051H provides instruction CALL, GOTOA, CALLA to address 256 location of program space. NY8A051H provides instruction GOTO to address 512 location of program space. NY8A051H also provides instructions LCALL and LGOTO to address any location of program space.
When a call or interrupt is happening, next ROM address is written to top of the stack, when RET, RETIA or RETIE instruction is executed, the top of stack data is read and load to PC![]()
深圳华凡电子科技有限公司成立于2016年,是一家从事集成电路芯片研发与销售的技术型企业。核对团队成员都是多年从事集成电路的设计研发,公司目前专注于MCU单片机的领域;致力于为客户提供的产品。华凡电子专注于研发高抗干扰性、高可靠性的通用型及型单片机。本公司MCU产品划分为通用类MCU、类MCU和ASIC产品三个类别,目前公司的主要产品应用从、锂电数码、小家电、消费类等领域逐步拓展到智能家居、工业控制、汽车电子等领域。