打印
[学习资料]

PIC18 DataRAM 笔记

[复制链接]
511|5
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
zljiu|  楼主 | 2023-7-19 12:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
1.疑似最糟糕的英文技术文档段落
Since up to 16 registers may share the same low-order address, the user must always be careful to ensure that the proper bank is selected before performing a data read or write. For example, writing what should be program data to an 8-bit address of F9h while the BSR is 0Fh will end up resetting the program counter.

1.16(Bytes?) register mapped zone in lowest addr is different from each other in each bank。

2.the example, if we write anything to 0f:00f9h in data ram, the program counter is reset?

3.who wrote this paragraph?????!!!!

2.关键信息
12 Bits Address

Most Addr :4096Bytes.

16Bank(Bit4 higher)............256/perBank(0xff...Bit8 lower)

SFR is  chip register itself.

GPR is just Data RAM, it is static, which means it can tranfer infos from bootloader to App, vice vesa?

BSR is storage the most significant bits(4Bits) of the target addr.

MOVFF can hould the entire 12Bits addr of data ram.

SFR only located at F38~FFFh。 the F60~ FFFh is mapped to ACCESS Bank("a"=0 is Access Bank mode;"a"=1  using BSR. the  256bytes accessable data RAM is all GPR, the SFR in higner address is Hiding in this mode).这一段可是未明言For exmaple的事,可以推理的是,此时"a"=0,  BSR 仍然有用。在此时。

3.回顾最初的问题
1.low-order address has 8bits. equal to low bytes of data ram addr.

2.16 registers may share the  same address. the register is data ram byte itself, can be GPR, can be SFR.

3. BSR is important.(if you jump from one app to another).

4.the example,  that program conter register is PC register, which abs or full addr is 0xff9h.
————————————————
版权声明:本文为CSDN博主「子正」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/twicave/article/details/131652768

使用特权

评论回复
沙发
tpgf| | 2024-2-5 14:54 | 只看该作者
为什么呢 是因为翻译成中文根本看不懂吗

使用特权

评论回复
板凳
keaibukelian| | 2024-2-5 15:26 | 只看该作者
难道这个手册没有中文版本的吗?总得有译文吧

使用特权

评论回复
地板
renzheshengui| | 2024-2-6 08:31 | 只看该作者
从咱们得角度看 感觉有点说的过于直白了

使用特权

评论回复
5
SophiaOP| | 2024-2-21 15:58 | 只看该作者
直接翻译一下啊

使用特权

评论回复
6
OliviaSH| | 2024-2-25 22:13 | 只看该作者
翻译一下,根本看不懂啊

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

50

主题

3319

帖子

3

粉丝