|
[调查]《x86汇编语言:从实模式到保护模式》赠书活动
1、您知道处理器有实模式和保护模式之分吗? 知道,但用的不多 2、如果您准备学习汇编语言,动机是什么? 难道看二进制,这有时是更好的选择. 3、这本书采用的汇编语言编译器是什么? NASM |
|
这是怎么弄的?
我想我已经可以得到答案了,还要在研究下. |
|
这是怎么弄的?
这个html是怎么生成的? |
|
[求助]读取内存给一个变量如何再从右向左付值给一个数组
struct A { union { unsigned long a1;//先赋值a1 unsigned char a2[4];//再把这个数组按你想要的顺序读出存入bb[12] }_A; }; |
|
|
|
[注意]关于论坛宽屏与窄屏显示的切换
怎么感觉没多大差别。 |
|
[求助]那些只有几十KB的程序是怎么做的
给个简单例子。调用了opengl函数,可能你无法编译通过。当然可以全部注释掉,好像这样就一个messagebox了。。。 参数我也不是很懂,为了一个不是那么大众化的软件钻研太深,还不如多学些其它东西。。 (一般程序都不大,用的是dll嘛) 顺便分享一份ppt,虽然不是我写的。 |
|
[求助]那些只有几十KB的程序是怎么做的
在cmd里可以执行(一般不会这么做吧),本来就是命令行工具。和链接器差不多,写好makefile直接调用就可以了。 |
|
[求助]那些只有几十KB的程序是怎么做的
crinkler 是个很好的工具!! |
|
|
|
[讨论]今天快下班时收到这么一封邮件,其中有些不理解
换硬盘换主机,hehe... |
|
|
|
[求助]C语言写的EXE文件,输入一个6位数,相等等就输出正确
0040138C /$ 55 PUSH EBP 0040138D |. 89E5 MOV EBP,ESP 0040138F |. 83EC 18 SUB ESP,18 00401392 |. 83E4 F0 AND ESP,FFFFFFF0 00401395 |. B8 00000000 MOV EAX,0 0040139A |. 83C0 0F ADD EAX,0F 0040139D |. 83C0 0F ADD EAX,0F 004013A0 |. C1E8 04 SHR EAX,4 004013A3 |. C1E0 04 SHL EAX,4 004013A6 |. 8945 F4 MOV DWORD PTR SS:[EBP-C],EAX 004013A9 |. 8B45 F4 MOV EAX,DWORD PTR SS:[EBP-C] 004013AC |. E8 FF030000 CALL a.004017B0 004013B1 |. E8 5A010000 CALL a.00401510 004013B6 |. C745 FC A0860>MOV DWORD PTR SS:[EBP-4],186A0 004013BD |> 8D45 F8 /LEA EAX,DWORD PTR SS:[EBP-8] ; || 004013C0 |. 894424 04 |MOV DWORD PTR SS:[ESP+4],EAX ; || 004013C4 |. C70424 013040>|MOV DWORD PTR SS:[ESP],a.00403001 ; ||ASCII "%d" 004013CB |. E8 B0040000 |CALL <JMP.&msvcrt.scanf> ; |\scanf 004013D0 |. 8B45 F8 |MOV EAX,DWORD PTR SS:[EBP-8] ; | 004013D3 |. 3B45 FC |CMP EAX,DWORD PTR SS:[EBP-4] ; | 004013D6 |. 75 13 |JNZ SHORT a.004013EB ; | 004013D8 |. C70424 043040>|MOV DWORD PTR SS:[ESP],a.00403004 ; |ASCII "right! " 004013DF |. E8 8C040000 |CALL <JMP.&msvcrt.printf> ; \printf 004013E4 |. E8 F7030000 |CALL <JMP.&msvcrt._getch> ; [_getch 004013E9 |. EB 0E |JMP SHORT a.004013F9 004013EB |> C70424 0C3040>|MOV DWORD PTR SS:[ESP],a.0040300C ; |ASCII "agin! " 004013F2 |. E8 79040000 |CALL <JMP.&msvcrt.printf> ; \printf 004013F7 |.^ EB C4 \JMP SHORT a.004013BD 004013F9 |> B8 00000000 MOV EAX,0 004013FE |. C9 LEAVE -------------------------------------------------------------------------------------- |
|
[求助]C语言写的EXE文件,输入一个6位数,相等等就输出正确
应该就在字符串"right!\n""agin!\n"附近有比较语句吧 |
|
|
|
[原创]最近微博里很热的1000瓶子10小白鼠找毒药问题
共5瓶(编号1-5) 老鼠1喝:4,5 老鼠2喝:2,3 老鼠3喝:1,3,5;(最少共涉及到7瓶,这种解是必然存在的) 或者 老鼠1喝:4,5,2 老鼠2喝:2,3 老鼠3喝:1,3,5; 或者 老鼠1喝:4,5,2 老鼠2喝:2,3,5 老鼠3喝:1,3,5; (绝对公平) -------------------------------------------------------- 解决问题的方法大同小异,解决问题的方案有多种。 0011对应3(二进制码),对应2(格雷码)等等。 编号就是为了与10bit二进制对应起来,至于怎么对应,二进制码最基本,最简单。 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值