汇编网首页登录博客注册
547948002的学习博客
博客首页博客互动【做检测题】论坛求助

我的博客

个人首页 |  我的文章 |  我的相册 |  我的好友 |  最新访客 |  文章收藏 |  论坛提问 |  友情链接 |  给我留言  
图片载入中
学习动态
最新留言
好友圈
文章收藏
友情链接

[2008-03-06 12:37] bios 中断大全

BIOS中断:
1、显示服务(Video Service——INT 10H) 
00H —设置显示器模式0CH —写图形象素
01H —设置光标形状0DH —读图形象素
02H —设置光标位置0EH —在Teletype模式下显示字符
03H —读取光标信息0FH —读取显示器模式
04H —读取光笔位置10H —颜色
05H —设置显示页11H —字体
06H、07H —初始化或滚屏12H —显示器的配置
08H —读光标处的字符及其属性13H —在Teletype模式下显示字符串
09H —在光标处按指定属性显示字符1AH —读取/设置显示组合编码
0AH —在当前光...
阅读全文 | 评论次数(0) | 浏览次数(539) | 所属类型(默认类型)

[2008-03-04 13:19] 试验16  在解新版(含自动键盘输入功能)

点击查看原图
data segment
DISP db 0dh,0ah,'0 clear scteen' ,0dh,0ah
     Db '1 set front clor',0dh,0ah
     Db '2 set back clor',0dh,0ah
     Db '3 mov to upline',0dh,0ah     
     Db  'please putin the number:$',0dh,0ah
con  DB 'continue or not?Y/N$',0dh,0ah
col db 0DH,0AH,'please putin the clor:$',0dh,0...
阅读全文 | 评论次数(1) | 浏览次数(856) | 所属类型(汇编作业)

[2008-01-08 13:10] 试验16(多功能子程序的中断例程int 7ch)

点击查看原图
;int 7ch中断:
assume cs:code
stack segment
  db 128 dup (0)
stack ends
code segment
start:mov ax,stack
      mov ss,ax
      mov sp,128

      mov ax,cs
      mov ds,ax
      mov ax,0
      mov es,ax
      push es:[7ch*4]
      pop es:[200h]
      push es:[7ch*4+2]
      pop es:[202h]...
阅读全文 | 评论次数(2) | 浏览次数(886) | 所属类型(汇编作业)

[2007-12-27 13:13] 实验15  输出满屏幕 "a"

点击查看原图
assume cs:code

stack segment
  db 128 dup(0)
stack ends
code segment
start:mov ax,stack
      mov ss,ax
      mov sp,128

      push cs
      pop  ds      
     
      mov ax,0
      mov es,ax
      
      mov si,offset int9
      mov di,204h
      mov cx,offset int9end-offset int...
阅读全文 | 评论次数(1) | 浏览次数(889) | 所属类型(汇编作业)

[2007-12-21 14:59] 实验14  显示系统年 月 日 时分 秒

点击查看原图
assume cs:code
stack segment
     dw 16 dup (0)
stack ends
code segment
   s:db 0,2,4,7,8,9 
start:mov ax,stack
      mov ss,ax
      mov ax,cs
      mov ds,ax
      mov sp,32
      mov si,offset s
      mov cx,6
   s1:mov ax,0
      mov dx,0
      mov al,[si]
      out 70h,al
     ...
阅读全文 | 评论次数(2) | 浏览次数(826) | 所属类型(汇编作业)

[2007-12-19 22:21] 实验13 (3)

点击查看原图
assume cs:code
code segment
  s1:db 'Good,better,best,','$'
  s2:db 'Never let it rest,','$'
  s3:db 'Till good is better,','$'
  s4:db 'And better,best.','$'
   s:dw offset s1,offset s2,offset s3,offset s4
 row:db 2,4,6,8
start:
     mov ax,cs
     mov ds,ax
     mov bx,offset s
     mo...
阅读全文 | 评论次数(2) | 浏览次数(880) | 所属类型(汇编作业)

[2007-12-19 21:33] 实验13(2)

点击查看原图
assume cs:code
code segment
start: mov ax,0b800h
       mov es,ax
       mov di,160*12
       mov bx,offset s-offset se
       mov cx,80
    s: mov byte ptr es:[di],'!'
       add di,2
       int 7ch
    se:nop
       mov ax,4c00h
       int 21h
code ends
end start...
阅读全文 | 评论次数(2) | 浏览次数(932) | 所属类型(汇编作业)

[2007-12-19 16:34] 实验13(1)

点击查看原图
assume cs:code
code segment
start:mov ax,cs
      mov ds,ax
      mov ax,0
      mov es,ax
      mov si,offset sdo
      mov di,200h

      mov cx,offset send-offset sdo
      cld
      rep movsb
      
      mov word ptr es:[4*7ch],200h
      mov word ptr es:[4*7ch+2],0
      mov ax,...
阅读全文 | 评论次数(3) | 浏览次数(585) | 所属类型(汇编作业)

[2007-12-19 13:40] 13.1(2) jmp near ptr s的7ch中断例程

点击查看原图
assume cs:code
code segment
start:mov ax,cs
      mov ds,ax
      mov ax,0
      mov es,ax
      mov si,offset ssi
      mov di,200h
      mov cx,offset se-offset ssi
      cld
      rep movsb

      mov word ptr es:[7ch*4],200h
      mov word ptr es:[7ch*4+2],0
    
      mov ax,4c00...
阅读全文 | 评论次数(2) | 浏览次数(680) | 所属类型(汇编作业)

[2007-12-16 16:41] 实验12   (0中断溢出)

点击查看原图
0中断程序如下
assume cs:code
code segment
  
 start:mov ax,cs
       mov ds,ax
       mov ax,0
       mov es,ax
       mov si,offset do
       mov di,200h
       mov cx,offset doend-offset do
       cld
       rep movsb

       mov ax,0
       mov es,ax   
       mov word ptr es:[0*4],200h...
阅读全文 | 评论次数(1) | 浏览次数(559) | 所属类型(汇编作业)
『 查看更多文章 』