jjw

写给自己的博客。 记录学习的点滴以备查。
随笔 - 127, 文章 - 0, 评论 - 8, 阅读 - 62632
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

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 jjw 阅读(77) 评论(0) 推荐(0) 编辑

摘要: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 jjw 阅读(100) 评论(0) 推荐(0) 编辑

摘要:unit mainformunit; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls; type ITest = interface function 阅读全文

posted @ 2021-01-28 22:25 jjw 阅读(323) 评论(0) 推荐(0) 编辑

摘要:在delphiXE中,可以使用匿名方法,线程中用起来比较方便,lazarus目前不支持匿名方法,在不继承线程的情况下,使用匿名线程或TThread.ExecuteInThread时,需要单独写两个方法:一个给TThread.ExecuteInThread用,另一个给同步用。感觉比较麻烦,并且可读性略 阅读全文

posted @ 2021-01-27 17:03 jjw 阅读(481) 评论(0) 推荐(1) 编辑

摘要:用法:不要手工添加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 jjw 阅读(229) 评论(0) 推荐(0) 编辑

摘要:简单的封装了一下,有很多不完善的地方,很多细节未考虑进去。 client代码 unit ClientMainFormUnit; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, Syst 阅读全文

posted @ 2021-01-22 20:56 jjw 阅读(130) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示