能力值:
( LV2,RANK:10 )
|
-
-
[求助]看完16位汇编再看32位的几乎联系不上啊
16位的汇编和win32的汇编确实不同。
但是为什么学汇编都要先学8086呢?我觉得原因有两个,一个是让你从纯净的汇编来理解汇编知识(纯净指的是一没有win32api等干扰,一切是从零开始,二是8086里面所有的过程、堆、栈都要自己操作,对真正理解汇编是极其重要的);二是对汇编里面所有的基础知识,包括堆、栈、中断、显示、字、字节、段、偏移、寻址等汇编里面所应该有的东西做全面的介绍,这有利于和win32汇编作比较,比较的结果是让你明白为什么win32里面的段不能被直接操作、为什么win32里面有那么多API函数等,这一切其实是等你学过8086的汇编才能更好地理解的。
话说回来,现在8086的汇编几乎没有用武之地了,所以才需要学习win32甚至win64的汇编。学习win32汇编难吗? 我觉得有地方难了,有地方容易了。容易的地方是不需要操作ds、ss等段了,不需要开发时放一大本中断书在旁边了,这一切os都给你做好了,甚至你想操作还不让你动! 难的地方是学习win32的汇编只有dos下开发汇编的经验是不够的,因为你不能理解ExitProcess是什么东西,之前为什么要push xxx; 而不是两个push,甚至三个push; 这需要你具有windows api开发的基础。所以先看本win api开发的书是必须的。
|
能力值:
( LV2,RANK:10 )
|
-
-
|
能力值:
( LV2,RANK:10 )
|
-
-
|