Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

王爽汇编语言实验代码 | 程序员阿辉 #15

Open
runphp opened this issue Sep 2, 2023 · 0 comments
Open

王爽汇编语言实验代码 | 程序员阿辉 #15

runphp opened this issue Sep 2, 2023 · 0 comments

Comments

@runphp
Copy link
Owner

runphp commented Sep 2, 2023

https://blog.runphp.net/other/2010/11/16/assembly-language-wangshuang.html

实验4 [bx]和loop的使用 ```asm assume cs: codesg codesg segment mov ax, 20h ; 20:0 到 20:3f mov ds, ax mov bx, 0 mov cx, 64 ; 循环64次 s: mov [bx], bl ; ((ds)*16+ bx) = (bl) = ( 0 到 63) inc bl loop s mov ax, 4c00H int 21H codesg ends end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant