义隆单片机EM78 的开发指令集

来源: 日期:2021-9-9

EM78系列是义隆电子公司所推出的八位元微控制器,此IC是采用先进的CMOS技术制造,因此具有低功率消耗、高执行速度的特性。其内含看门狗计时器、可程式计数器、低功率消耗模式及双向三态I/O等强大功

 

12 11 10 9 8 7 6 5 4 3 2 1 0 Mnemonic C? Z? Deion
 
0 0 0 0 0 0 0 opcode Miscellaneous instructions
0 0 0 0 0 0 0 0 0 0 0 0 0 NOP*     No operation (MOVW 0,W)
0 0 0 0 0 0 0 0 0 0 0 0 1 DAA C    
0 0 0 0 0 0 0 0 0 0 0 1 0 CONTW*     Write CONT register (CONT ← W)
0 0 0 0 0 0 0 0 0 0 0 1 1 SLEEP*     Go into standby mode (WDT ← 0, stop clock)
0 0 0 0 0 0 0 0 0 0 1 0 0 CLRWDT*     Restart watchdog timer (WDT ← 0)
0 0 0 0 0 0 0 0 0 f IOW f*     Copy W to I/O control register (f = 5–7, 11–15)
0 0 0 0 0 0 0 0 1 0 0 0 0 ENI     Enable interrupts
0 0 0 0 0 0 0 0 1 0 0 0 1 DISI     Disable interrupts
0 0 0 0 0 0 0 0 1 0 0 1 0 RET     Return from subroutine, W unmodified
0 0 0 0 0 0 0 0 1 0 0 1 1 RETI     Return from interrupt; return & enable interrupts
0 0 0 0 0 0 0 0 1 0 1 0 0 CONTR     Read CONT register (W ← CONT)
0 0 0 0 0 0 0 0 1 f IOR f     Copy I/O control register to W (f = 5–7, 11–15)
0 0 0 0 0 0 0 1 0 0 0 0 0 TBL C Z PCL += W. preserve PC bits 8 & 9
 
0 0 opcode d register ALU operations same as 12- and 14-bit PIC
0 1 op bit register Bit operations same as 12- and 14-bit PIC
1 0 op k Control transfers same as 14-bit PIC
 
1 1 opcode 8-bit immediate Operations with W and 8-bit literal: W ← OP(k,W)
1 1 0 op k MOV/IOR/AND/XOR, same as 12-bit PIC
1 1 1 0 0 k RETLW k     W ← k, then return from subroutine
1 1 1 0 1 k SUBLW k C Z W ← k−W (W ← k+~W+1)
1 1 1 1 0 k INT k     Push PC, PC ← k (software interrupt, usually k=1)
1 1 1 1 1 k ADDLW k C Z W ← k+W
 
12 11 10 9 8 7 6 5 4 3 2 1 0 Mnemonic C? Z Deion

上一条: 基于51单片机和LCD液晶显示实现超声波测距系统的设计

下一条: 九齐NY1_FDB & NY1 Target Board Flash 型态开发工具

开发实力

专业资深的软硬件开发工程师团队,熟悉行业客户产品硬件技术平台解决方案

全球渠道

为客户提供高性价比的产品和服务,满足客户及时快速的电子生产制造需求

品质保证

专业的测试保证团队,保证每批方案的稳定性,兼容性,和抗干扰性

售后服务

专业的技术服务团队,24小时为客户提供各种软硬件的技术支持和售后服务

服务热线

0755-88364040
18902464556

义隆代理

烧录开发

技术支持

申请样品

扫描微信二维码