摘要: x86段寄存器介绍: 指针寄存器: 通用寄存器 变址寄存器 阅读全文
posted @ 2013-06-08 23:48 xxx1 阅读(526) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>static unsigned long int next = 1;void my_srand(unsigned int seed){ next = seed;}int my_rand(void){ next = next * 1103515245 + 12345; return (unsigned int)next / 65536 % ... 阅读全文
posted @ 2013-06-08 00:08 xxx1 阅读(145) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>char *itobs(int, char *);void show_bstr(const char *);int main(void){ char bin_str[8 * sizeof(int) + 1]; int number; puts("Enter integers and see them in binary."); pu... 阅读全文
posted @ 2013-06-08 00:07 xxx1 阅读(252) 评论(0) 推荐(0) 编辑