资源简介
这些都是我在每个网站上照下来让后整理的。我感觉是相当不错的。
代码片段和文件信息
//; 程序清单:inline.c(嵌入汇编)
#include “stdio.h“
#pragma warning (disable:4101)
// disable warning about unreferenced local variables
struct Misc {
char misc1; // 1 bytes
short misc2; // 2 bytes
int misc3; // 4 bytes
long misc4; // 4 bytes
};
char myChar;
short myShort=-5;
int main()
{
int myInt=20;
long myLong;
__int64 myLongLong;
int myLongArray[10];
struct Misc myMisc;
_asm mov myChar ‘9‘
_asm {
mov eax LENGTH myInt; // 1
mov eax TYPE myInt; // 4
mov eax SIZE myInt; // 4
mov eax LENGTH myLongArray; // 10
mov eax TYPE myLongArray; // 4
mov eax SIZE myLongArray; // 40
mov eax LENGTH myMisc; // 1
mov eax TYPE myMisc; // 12
mov eax SIZE myMisc; // 12
mov eax TYPE myChar; // 1
mov eax TYPE myShort; // 2
mov eax TYPE myLong; // 4
mov eax TYPE myLongLong; // 8
add myInt 30
mov ax myShort
mov myMisc.misc2 ax
movsx eax myMisc.misc2
lea ebx myMisc
mov [ebx].misc3 eax
mov myLongArray[2*4] 200
}
printf(“myChar=%c myInt=%d myMisc.misc3=%d myLongArray[2]=%d\n“
myChar myInt myMisc.misc3 myLongArray[2]);
return 0;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2010-04-18 17:09 汇编\
文件 545280 2010-04-13 13:30 汇编\10904_7_f_4.ppt
目录 0 2010-04-18 17:09 汇编\huibianyuyan_kehoushiyan_cankaodaan\
目录 0 2010-04-18 17:09 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\
目录 0 2010-04-18 17:09 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\fl\
文件 23148 2006-07-23 14:26 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\fl\fl1.htm
文件 25845 2006-07-23 14:26 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\fl\fl2.htm
文件 3233 2006-07-23 14:26 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\fl\fl3.htm
文件 13476 2006-07-23 14:26 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\fl\fl4.htm
文件 81204 2006-07-23 14:26 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\fl\fl5.htm
目录 0 2010-04-18 17:09 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\gydhk\
文件 2997 2006-07-23 14:32 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\gydhk\gydhk.htm
目录 0 2010-04-18 17:09 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\index.files\
文件 5370 2005-04-20 13:13 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\index.files\back_bluh.jpg
文件 24064 2005-07-28 18:31 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\index.files\Thumbs.db
文件 8877 2006-07-23 14:34 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\index.htm
目录 0 2010-04-18 17:09 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\pro\
文件 956 2005-07-27 21:19 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\pro\10_1.asm
文件 1236 2005-07-27 21:19 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\pro\10_2.asm
文件 2289 2005-07-27 21:19 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\pro\10_3.asm
文件 667 2005-07-27 21:19 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\pro\11.asm
文件 1085 2005-07-27 21:19 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\pro\12.asm
文件 1614 2005-07-27 11:39 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\pro\121.asm
文件 910 2005-07-27 21:19 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\pro\13_1.asm
文件 261 2005-07-27 21:19 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\pro\13_1jc.asm
文件 801 2005-07-27 21:19 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\pro\13_2.asm
文件 306 2005-07-27 21:19 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\pro\13_2jc.asm
文件 586 2005-07-27 21:19 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\pro\13_3.asm
文件 1254 2005-07-27 21:19 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\pro\14.asm
文件 943 2005-07-27 21:19 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\pro\15.asm
文件 3106 2005-07-27 21:19 汇编\huibianyuyan_kehoushiyan_cankaodaan\huibianyuyan_kehoushiyan_cankaodaan\pro\16.asm
............此处省略613个文件信息
- 上一篇:Fli
nk流式计算实际生产项目代码 - 下一篇:nodejs开发指南带随书源码
评论
共有 条评论