当前位置: 首页 > news >正文

PIC18 DataRAM 笔记

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.

http://www.lryc.cn/news/94640.html

相关文章:

  • 【FFMPEG】AVFilter使用流程
  • 爬虫入门06——了解cookie和session
  • Ubuntu 的移动梦醒了
  • RabbitMQ的集群
  • 超长上下文处理:基于Transformer上下文处理常见方法梳理
  • ChatGPT爆火 但生成式AI并非全新产物
  • 深度学习循环神经网络
  • 如何规范的设计数据库表
  • 【CSS】跳动文字
  • arm海思启动udev的错误
  • 网络协议与攻击模拟-15-DNS协议
  • ChatGPT将改变教育,而不是摧毁它
  • springboot在线考试
  • C国演义 [第三章]
  • 数字化时代,企业的数据指标体系
  • 三分钟了解 RocketMQ消息队列
  • golang redis第三方库github.com/go-redis/redis/v8实践
  • 校园网WiFi IPv6免流上网
  • java 阿里云直播配置及推拉流地址获取
  • PostgreSql 限制
  • 2023年java还是golang还是c#?
  • 微服务、SpringBoot、SpringCloud 三者的区别
  • 2023-07-10 cmake管理的项目中使用vcpkg管理第三方库
  • 【剑指offer】学习计划day3
  • QT DAY1
  • Mybatis-puls——条件查询的三种格式+条件查询null判定+查询投影
  • 网络安全(黑客)自学
  • 通过一个实际例子说明Django中的数据库操作方法OneToOneField()的用法【数据表“一对一”关系】
  • HarmonyOS学习路之开发篇—数据管理(对象关系映射数据库)
  • 实验:验证TCP套接字传输的数据不存在数据边界