摘要:
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 si,offset... 阅读全文
摘要:
assume cs:code code segment start: mov ax,0b800h mov es,ax mov di,160*12+30*2 mov al,0ah push di rdata: dec al cmp al,7 jb rtime cal... 阅读全文
摘要:
assume cs:code code segment start: mov ax,cs mov ds,ax mov si,offset sqr mov ax,0 mov es,ax mov di,200h mov cx,offset sqrend - offset sqr cld rep movsb mov a... 阅读全文
摘要:
除法溢出的时候,在屏幕中心处显示overflow! 阅读全文
摘要:
assume cs:code,ds:data data segment db "Beginner's All-purpose Symbolic Instruction Code.",0 data ends code segment start: mov ax,data mov ds,ax mov si,0 call letterc mov a... 阅读全文