最近在在smail文件中加入调用接口代码,大部分APK没什么问题回编打包的时候,偶尔碰到一个APK报错,Allregisterargsmustfitin4bits在在多次调试中发现寄存器数超过16了,不能直接使用p0、p1来作为invoke的参数,需要move一下例如:开始的时候为invoke-static{p0},Lneat/anad/in..
分类:
其他好文 时间:
2015-11-07 06:53:11
阅读次数:
203
用32位指令编写程序 上面用补充机器码的方式编写32位指令实在是麻烦,我们可以把16位与32位指令分离,分别编写16位与32位程序,这样就方便多了。 kernelloader跳转到32位的kernel.asm程序 修改kernelloader.asm,源码如下: [BITS 16] jmp main...
分类:
其他好文 时间:
2015-11-06 22:14:52
阅读次数:
258
Reverse bits of a given 32 bits unsigned integer. For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), retur...
分类:
其他好文 时间:
2015-11-06 09:37:40
阅读次数:
140
/*********************************************************************//**Gets the number of bits in a record lock bitmap.@return number of bits */...
分类:
其他好文 时间:
2015-11-05 18:52:08
阅读次数:
155
-- https://fpga4u.epfl.ch/wiki/FPGA4U_Description-- The SDRAM is an ISSI IS42S32800B. With 32 bits data bus, validated by SDRAM_DQM signals, -- one fo...
分类:
其他好文 时间:
2015-11-04 09:23:24
阅读次数:
150
Description:Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory...
分类:
其他好文 时间:
2015-11-03 20:51:35
阅读次数:
278
题意: 两个等长的字符串p和q,p有‘0’,‘1’,‘?’组成,q由‘0’,‘1’组成。有三种操作:1.将‘?’变成0;2.将‘?’变成‘1’;3.交换同一字符串任意两个位置上的字符。问有p变到q最少需要几次操作。分析: 若两个位置上的字符相同,则不用处理;能交换位置便交换位置,这样能一次改变两.....
分类:
其他好文 时间:
2015-11-01 21:11:33
阅读次数:
303
题目:Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, ...
分类:
其他好文 时间:
2015-11-01 16:26:22
阅读次数:
185
Serialize and Deserialize Binary TreeSerialization is the process of converting a data structure or object into a sequence of bits so that it can be s...
分类:
编程语言 时间:
2015-10-31 20:01:15
阅读次数:
250
Serialize and Deserialize Binary TreeSerialization is the process of converting a data structure or object into a sequence of bits so that it can be s...
分类:
其他好文 时间:
2015-10-29 19:48:10
阅读次数:
252