DATA SEGMENT MESS DB "Triangle",0DH,0AH CN EQU $-MESS MESS1 DB "(0,0)",0AH,0DH,"$" MESS2 DB "(0,100)",0AH,0DH,"$" MESS3 DB "(100,0)",0AH,0DH,"$" FAL DB ? DATA ENDS CODE SEGMENT ASSUME CS:CODE, DS:DATA START:MOV AX,DATA MOV DS,AX MOV AH,0FH INT 10H M
You are visitor as of October 17, 1996.The Art of Assembly Language ProgrammingForward Why Would Anyone Learn This Stuff?1 What's Wrong With Assembly Language2 What's Right With Assembly Language?3 Organization of This Text and Pedagogical Concerns4
1计算器 DATA SEGMENT STRING DB 'PLEASE PRESS NUMBER 1,2,3,4,5:',0DH,0AH,'$' BUFF DB 10 DB ? DB 10 DUP(?) ARRAY1 DB 'PLEASE INPUT THE FIRST NUMBER:',0DH,0AH,'$' ARRAY2 DB 'PLEASE INPUT THE SECOND NUMBER:',0DH,0AH,'$' ARRAY3 DB 10 DB ? DB 10 DUP(?) ARRAY
3动画 DATA SEGMENT INFO1 DB 0DH,0AH,'INPUT 1,2,OR 3 $' BUFA DB 200 DB ? DB 200 DUP(0) BUFB DB 200 DUP(?) CAR DB 7 ;小汽车的字符图形表 DB 52H,7,0,0 DB 0B1H,7,0,1 DB 0DBH,7,0,1 DB 0DBH,7,0,1 DB 4FH,7,1,0 DB 4FH,7,0,-3 DB 2,7,-2,1 CHAR DW ? POINTER DW ? LINE DB ?
;name: ELECTRONIC CLOCK data segment mess1 db 'Press C or c to correct the time',0ah,0dh db 'Press R or r to SET the RING time',0ah,0dh db 'Press ESC button to exit',0ah,0dh,'$' tn db 'Please input the new time (hh:mm:ss):',0dh,0ah,'$' tM db 'Please