汇编语言(王爽 第三版)实验十四
2016-05-30 18:22
609 查看
assume cs:code code segment s1: db 9,8,7,4,2,0 s2: db 'yy/mm/dd hh:mm:ss','$' start: mov ax,cs mov ds,ax mov si,offset s1 mov di,offset s2 mov cx,6 s: push cx mov al,ds:[si] out 70h,al in al,71h mov ah,al mov cl,4 shr ah,cl and al,00001111b add ah,30h add al,30h mov ds:[di],ah mov ds:[di+1],al inc si add di,3 pop cx loop s mov ah,2 mov bh,0 mov dh,5 mov dl,12 int 10h mov dx,offset s2 mov ah,9 int 21h mov ax,4c00h int 21h code ends end start
相关文章推荐
- Cannot load supported formats: Cannot run program "svn": CreateProcess error=2, μ
- GruntJS学习(转)
- 翻译express
- iOS开发网络篇—网络编程基础
- 汇编语言(王爽 第三版)实验十三
- R常用函数
- Gauss poj 1830
- UIKit中ImageView动画堆叠显示的微调整
- UIKit中ImageView动画堆叠显示的微调整
- UIKit中ImageView动画堆叠显示的微调整
- iOS开发网络篇—搭建本地服务器
- MATLAB实现频数直方图——hist的使用
- make -C $(kdir) M=$(pwd) modules
- 使用Kotlin简化Android开发
- NKOI 3559 子串
- http://www.mamicode.com/info-detail-1150460.html
- Clojure ns 宏介绍
- Linux Tricks(一)—— 快速清空文本文件内容
- bitmap处理
- PAT乙级—1051. 复数乘法 (15)-native