首页|嵌入式系统|显示技术|模拟IC/电源|元件与制造|其他IC/制程|消费类电子|无线/通信|汽车电子|工业控制|医疗电子|测试测量
首页 > 分享下载 > 嵌入式系统 > 从8051到Microchip的汇编转换:快速参考

从8051到Microchip的汇编转换:快速参考

资料介绍
When migrating assembly language programs from
one family of microcontrollers to another, the first
question is almost always: “What’s the equivalent
opcode?” Some operations, like addition and
subtraction, are self-evident and practically universal.
Other instructions may have some subtle differences in
syntax or spelling that make direct conversions a bit
trickier. Occasionally, some instructions simply don’t
have a direct equivalent in the target set, or an
equivalent exists but is explained in different terms.
Another question that arises is that of addressing
modes. Typically, Direct and Indirect Addressing
modes are standard in all architectures. However, they
tend to be different in limitations and feature set.
AN880
Converting from 8051 to Microchip Assembler:
A Quick Reference
It is important to remember that this reference list is
Author: Gaurang Kavaiya
Microchip Technology Inc. only a starting point for code conversion. There are
several considerations to keep in mind when moving
code from 8-bit 8051 devices to PICmicro devices:
1. The basic processor architecture is significant
标签:汇编转换PIC8051
从8051到Microchip的汇编转换:快速参考
本地下载

评论