05 2022 档案
摘要:assume cs:code data segment db 10 dup (0) data ends code segment start: mov ax,12666 mov bx,data mov ds,bx mov si,0 call dtoc mov dh,8 mov dl,3 mov cl
阅读全文
摘要:assume cs:code code segment start: mov ax,4240h ; low 16 bit of dividend mov dx,000fh ; high 16 bit of dividend mov cx,0ah ; divisor call divdw mov ax
阅读全文
摘要:assume cs:code data segment db 'welcome to masm',0 data ends code segment start: mov dh,8 ; row number mov dl,3 ; col number mov cl,2 ; color mov ax,d
阅读全文
摘要:assume cs:code code segment start: mov ax,0 mov es,ax mov di,200h mov ax,cs mov ds,ax mov si,offset lp mov cx,offset lp_end - offset lp cld rep movsb
阅读全文
摘要:assume cs:code code segment start: mov ax,0 mov es,ax mov di,200h mov ax,cs mov ds,ax mov si,offset show_str mov cx,offset show_str_end - offset show_
阅读全文
摘要:以集合的角度思考背包问题 当面对dp问题,首先考虑两个内容:(1)状态表示(2)状态计算 (1)状态表示 集合:f(i)(j) 表示一个集合,这个集合包含不同的选法。 条件:这个集合表示,选前 i 件物品,且总体积不大于 j 的选法。 属性:f(i)(j) 的值代表 max?还是min?还是某个数x
阅读全文
摘要:1~8章:https://www.cnblogs.com/orangelsk/articles/16185577.html 转移指令的原理 转移指令用作单独修改IP或是同时修改CS和IP,为了让CPU执行我们指定的指令。 若只修改IP,则转移指令可分为: 段内短转移。IP修改范围为(-128~127
阅读全文
摘要:process API content linux进程状态: 参考: https://blog.csdn.net/shenwansangz/article/details/51981459 fork:创建子进程,子进程从fork处开始执行,子进程获取的fork返回值为0。 wait:父进程阻塞等待任
阅读全文

浙公网安备 33010602011771号