博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年3月22日

摘要: Define the Program 把文件中的所有字符都变成用十六进制书写的格式。 Starting with Pseudo-Code 1、最初的伪代码设计如下: Read a char from the input file convert the character to hex string Write the hex string to the output file Repeat un... 阅读全文

posted @ 2011-03-22 18:28 天地玄黄 阅读(433) 评论(0) 推荐(0)

摘要: AND, OR, XOR, NOT <-----------Bitwise logical instructions ROL, ROR, RCL, RCR, SHL, SHR <-------------shift instructions AND op1,op2 结果放在op1中。 AND的一种应用是在一个数中分离出几个bits OR, XOR和AND的格式相同 NOT只有一个操作数 Shift... 阅读全文

posted @ 2011-03-22 13:26 天地玄黄 阅读(402) 评论(0) 推荐(0)

摘要: 我们在写一个二进制数时,一般高位在左,低位在右: 阅读全文

posted @ 2011-03-22 08:35 天地玄黄 阅读(259) 评论(0) 推荐(0)