码迷,mamicode.com
首页 > 其他好文 > 详细

Translating Conditional Branches

时间:2014-10-11 12:04:35      阅读:171      评论:0      收藏:0      [点我收藏+]

标签:io   os   ar   sp   on   cti   bs   res   ui   

By using a PC-relative encoding of the jump targets,the instructions can be compactly encoded(requiring just 2 bytes),and the object code can be shifted to different positions in memory without alteration.

The most general way to translate conditional expressions and statements from C into machine code is to use combinations of conditional and  unconditional jumps.

Translating Conditional Branches

标签:io   os   ar   sp   on   cti   bs   res   ui   

原文地址:http://www.cnblogs.com/Shaw-Wei-Wei/p/CSAPP.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!