摘要:assume cs:code,ds:data data segment db 'Welcome to masm!', 0 data ends code segment start: comment* div: n / x high(n) => dx low(n) = > ax 结果: ax 为商 d
阅读全文
posted @ 2021-02-06 11:20
|
|||
随笔分类 - 8086汇编
摘要:assume cs:code,ds:data data segment db 'Welcome to masm!', 0 data ends code segment start: comment* div: n / x high(n) => dx low(n) = > ax 结果: ax 为商 d
阅读全文
posted @ 2021-02-06 11:20
摘要:assume cs:code,ds:data data segment db 'Welcome to masm!', 0 data ends code segment start: comment* *comment mov dh, 8 mov dl, 3 mov cl, 2 mov ax, dat
阅读全文
posted @ 2021-02-05 17:19
摘要:assume cs:code,ds:data data segment DB '1975', '1976', '1977', '1978', '1979', '1980', '1981', '1982' DB '1983', '1984', '1985', '1986', '1987', '1988
阅读全文
posted @ 2021-02-05 09:26
摘要: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
|
|||