QHB,我与16F87A一起工作。为了解释我的问题,例如,有一个指令“银行”,在MPASM中基于SFR选择银行。但是,在结果汇编中,我确信它被转换成改变状态寄存器位RP0、RP1的指令。同样的方法有“if or”和其他指令,这导致一些汇编代码等价,这就是我想要看到的。谢谢回复。
以上来自于百度翻译
以下为原文
@
qhb, I am working with 16F877A.
To explain my question, for example, there is a directive 'banksel', in MPASM for selecting banks based on SFR. But in resulting assembly, I am sure it is converted to instructions that change STATUS register bits RP0, RP1. Same way there are 'if-else' and other directives, that lead to some assembly code equivalent, which is what I want to see.
Thanks for reply.
QHB,我与16F87A一起工作。为了解释我的问题,例如,有一个指令“银行”,在MPASM中基于SFR选择银行。但是,在结果汇编中,我确信它被转换成改变状态寄存器位RP0、RP1的指令。同样的方法有“if or”和其他指令,这导致一些汇编代码等价,这就是我想要看到的。谢谢回复。
以上来自于百度翻译
以下为原文
@
qhb, I am working with 16F877A.
To explain my question, for example, there is a directive 'banksel', in MPASM for selecting banks based on SFR. But in resulting assembly, I am sure it is converted to instructions that change STATUS register bits RP0, RP1. Same way there are 'if-else' and other directives, that lead to some assembly code equivalent, which is what I want to see.
Thanks for reply.
举报