引言之前我们写过OR的裸机程序,写过基于OR的linux设备驱动程序,也反汇编过OR的机器码。本小节,我们将通过一个简单的实验,对OR的汇编(指令集)做一个简单的梳理和測试。1,基本思想要想了解OR的指令集,事实上仅仅要查查OpenRISC architecture manual就能够了,可是不是最...
分类:
其他好文 时间:
2014-06-19 07:56:50
阅读次数:
330
最近项目需要搭建自己的IM服务器,在快速配置好Openfire之后,开始研究使用gloox开发XMPP客户端实现通信,先下载gloox源码,然后./configure,make ,sudo make install,在/usr/local/下找到头文件夹和静态库,加到项目中,然后加入openssl库...
分类:
移动开发 时间:
2014-06-19 00:44:30
阅读次数:
493
[Architecture Pattern] Singleton Locator目的组件自己提供Service Locator模式,用来降低组件的耦合度。情景在开发系统时,底层的Infrastructure Context、或是核心的Domain Context这些共享对象生成之后,会在系统的许多地...
分类:
其他好文 时间:
2014-06-18 22:54:43
阅读次数:
279
BACKGROUNDProcessor power consumption has become a major issue in recent years. The current trend of processor design to multi-core architecture as ea...
分类:
其他好文 时间:
2014-06-18 22:16:54
阅读次数:
435
Validate if a given string is numeric.Some examples:"0"=>true" 0.1 "=>true"abc"=>false"1 a"=>false"2e10"=>trueNote:It is intended for the problem stat...
分类:
其他好文 时间:
2014-06-18 21:58:07
阅读次数:
220
responseMsg();}else{ $wechatObj->valid();}class wechatCallbackapiTest{ public function valid() { $echoStr = $_GET["echostr"]; i...
分类:
微信 时间:
2014-06-18 19:37:39
阅读次数:
513
No architectures to compile for(ONLY_ACTIVE_ARCH=YES 这种错误 修改building settings下 Build Active Architecture only 为NO即可。dyld: Symbol not found: _objc_setP...
分类:
其他好文 时间:
2014-06-18 15:30:00
阅读次数:
260
题目
Given a string containing just the characters '(' and ')',
find the length of the longest valid (well-formed) parentheses substring.
For "(()", the longest valid parentheses substring...
分类:
其他好文 时间:
2014-06-16 22:41:41
阅读次数:
267
Given a string containing only digits, restore it by returning all possible valid IP address combinations.
For example:
Given "25525511135",
return ["255.255.11.135", "255.255.111.35"].
(Order do...
分类:
其他好文 时间:
2014-06-16 19:24:42
阅读次数:
248
此问题针对百度地图真机调试和模拟器.a文件的选取问题
"$(SRCROOT)/MobileYonyou/Third/BaiduMap_IOSSDK_v2.3.0_Lib/Release$(EFFECTIVE_PLATFORM_NAME)"
这样就可以根据运行环境自动选取.a文件.
-- "$(SRCROOT)/MobileYonyou/Third/BaiduMap_IOSSD...
分类:
其他好文 时间:
2014-06-16 18:43:31
阅读次数:
207