[学习资料] PIC18 DataRAM 笔记

[复制链接]
 楼主| 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 | 显示全部楼层
从咱们得角度看 感觉有点说的过于直白了
SophiaOP 发表于 2024-2-21 15:58 | 显示全部楼层
直接翻译一下啊
OliviaSH 发表于 2024-2-25 22:13 | 显示全部楼层
翻译一下,根本看不懂啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则

51

主题

3327

帖子

3

粉丝
快速回复 在线客服 返回列表 返回顶部