摘要:1、bp寄存器默认段地址是ss mov xxx,[bp] 时,没有显示的给出段地址,段地址默认是ss 2、div指令 下面这段话是网上百度问答 https://zhidao.baidu.com/question/467480553.html中的, 8086/8088CPU执行bai除法时规定:除数只
阅读全文
posted @ 2021-01-31 15:50
|
|||
01 2021 档案
摘要:1、bp寄存器默认段地址是ss mov xxx,[bp] 时,没有显示的给出段地址,段地址默认是ss 2、div指令 下面这段话是网上百度问答 https://zhidao.baidu.com/question/467480553.html中的, 8086/8088CPU执行bai除法时规定:除数只
阅读全文
posted @ 2021-01-31 15:50
摘要:assume cs:code code segment mov ax, 4c00h int 21h start: mov ax, 0 s: nop nop mov di, offset s mov si, offset s2 mov ax, cs:[si] mov cs:[di], ax s0: j
阅读全文
posted @ 2021-01-31 13:37
摘要:unit mainformunit; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls; type ITest = interface function
阅读全文
posted @ 2021-01-28 22:25
摘要:在delphiXE中,可以使用匿名方法,线程中用起来比较方便,lazarus目前不支持匿名方法,在不继承线程的情况下,使用匿名线程或TThread.ExecuteInThread时,需要单独写两个方法:一个给TThread.ExecuteInThread用,另一个给同步用。感觉比较麻烦,并且可读性略
阅读全文
posted @ 2021-01-27 17:03
摘要:用法:不要手工添加heaptrc单元,应该在编译选项中勾选 Using heaptrc in Lazarus To enable this in your Lazarus project: Go to Project Options/Linking and in the Debugging sect
阅读全文
posted @ 2021-01-26 21:56
摘要:简单的封装了一下,有很多不完善的地方,很多细节未考虑进去。 client代码 unit ClientMainFormUnit; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, Syst
阅读全文
posted @ 2021-01-22 20:56
|
|||