摘要:
1 assume cs:code,ss:stack,ds:data 2 stack segment 3 db 128 dup (0) 4 stack ends 5 6 data segment 7 dw 0,0 8 data ends 9 10 code segment11 start:12 mov ax,stack13 mov ss,ax14 mov sp,12815 16 mov ax,data17 mov ds,ax18 19 mov ax,020 mov es,ax21 22 p... 阅读全文
摘要:
1 assume cs:code 2 code segment 3 start: 4 mov bx,0b800h 5 mov es,bx 6 mov bx,20*2 7 ;年开始 8 mov al,9 9 out 70h,al10 in al,71h11 call zh12 call xg13 ;年结束14 15 16 ;月开始17 mov al,818 out 70h,al19 in al,71h20 call zh21 call xg22 ;月结... 阅读全文
摘要:
1 程序: 2 assume cs:code 3 code segment 4 start: 5 mov ax,0b800h 6 mov es,ax 7 mov di,160*12+16*2 8 mov bx,offset s-offset se 9 mov cx,8010 s:11 mov byte ptr es:[di],'!'12 add di,213 int 7ch14 se:15 nop16 mov ax,4c00h17 int 21h18 code ends19 end ... 阅读全文