Chinaunix首页 | 论坛 | 博客
  • 博客访问: 468503
  • 博文数量: 724
  • 博客积分: 40000
  • 博客等级: 大将
  • 技术积分: 5010
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-13 14:47
文章分类

全部博文(724)

文章存档

2011年(1)

2008年(723)

我的朋友

分类:

2008-10-13 17:02:09

编者按——

   我特别艳羡那些研究底层技术的朋友,就连他们随便讨论的话题都会让我有一种高山仰止的感觉。任何IT技术一旦你深入底层,你才能真正的将它掌控。什么才是底层呢,在我看来,深入任何一种技术都是底层。摈弃平台、语言的偏见,努力专于一、两门技术领域对我们的职业生涯会更有帮助。

..............................................................................

主题:说说这个分支是什么意思
作者:yingkou (进士)
回复次数: 3
发表时间: 2005-4-7 17:29:45

原文:When the RCnEN flag is set, the ROM correction is activated. And when the ROM address (the instruction execution address) reaches the set address to the ROM correction address setting register, it branches indirectly to the RAM address set on the RC vector table (RCnV(L),RCnV(H)). Set the RCnEN flag after setting the ROM correction address setting register.

译文: 当设定RCnEN标志时,ROM是可修正的.当ROM地址(指令执行地址)到达ROM修正地址设定记录的设定地址时,它间接地分成在RC向量表(RCnV(L),RCnV(H))中设定的RAM地址。在设定了ROM修正地址设定记录后设置RCnEN标志。

辨析:网友Xsharp虽然翻译的很好,但是对branch的意思还是没有搞清楚。由于没有上下文,我这里提出自己的看法:branch这里是不及物动词,“分出来”的意思。The hardware then branches to the address stored at location x'04004' in the interrupt vector table.译文:硬件这时分出了存储在中断向量表中位置0x04004的地址(应该是中断处理程序的入口地址吧)。这是只是个人理解,仅供参考!

..............................................................................

主题: 第一句话怎么翻译?docking windows怎么理解?
作者: xiaoxiaotw (书童)
回复次数: 3
发表时间:2005-4-12 10:11:41

原文:Two common window types are document windows and docking windows. The position and size of document windows can be changed within the Visual C++ window. They can be maximized and minimized. Docking windows, however, attach to the borders of the application window, or float anywhere on your screen.

译文:两种常见的窗体类型是文档窗体和(可)停靠窗体。在Visual C++窗体中文档窗体的位置和大小是可以改变的。它们可以最大化和最小化。然而,(可)停靠窗体依附于应用窗体的边缘,或者在你屏幕的任何地方浮动。  

辨析:dock的名词是“码头”,作动词用时就是“停靠码头”的意思了。同样,这里的docking windows的意思其实就是“具有停靠功能的窗体”。停靠功能的作用显而易见:使得窗体设计更加灵活,易用,布局也更加美观。

.............................................................................

主题:帮忙看一下 
作者:FreeMyself (书童)
回复次数:6
发表时间:2005-4-13 14:44:45

原文:The ANSI standard describes that the updates of volatile objects follow the rules of the abstract machine (the target processor) and thus access to a volatile object becomes implementation defined.
When one of these criteria is met the compiler generates loops that consist of branch and jump instructions, which make it possible to do some optimizations not possible on hardware DO loops.

译文:ANSI(美国国家标准化组织) 标准的叙述为:volatile对象的更新/追加遵循抽象机(目标处理器)规则,因此其volatile对象访问需根据定义执行。
当满足了其中的一个标准时,编译器就产生由分支和跳转指令组成的循环,这样就能优化硬件数据输出循环所不能达到的(要求)。

辨析:关于volatile对象的讨论请见本站九月鹰飞的一篇blog及其评论:。我想,这就是所谓的底层吧,^-^。

--------------------next---------------------


阅读(228) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~