微机原理与接口技术习题!!

时间:2012-07-03 06:08:42
【文件属性】:

文件名称:微机原理与接口技术习题!!

文件大小:6KB

文件格式:RAR

更新时间:2012-07-03 06:08:42

微机原理

SEG SEGMENT DATA1 DB 3 DATA2 DB 3,?,3 DUP(?) ALFMON DB '???','$' MONTAB DB 'JAN','FEB','MAR','APR','MAY','JUN' DB 'JUL','AUG','SEP','OCT','NOV','DEC' DSEG ENDS ; SSEG SEGMENT STACK 'STACK' DB 100 DUP(?) SSEG ENDS ; CSEG SEGMENT ASSUME CS:CSEG,DS:DSEG,ES:DSEG,SS:SSEG ; MAIN PROC FAR START: MOV AX,DSEG MOV DS,AX MOV ES,AX MOV AX,SSEG MOV SS,AX CALL INPUT CALL LOCATE CALL DISPLAY MOV AH,4CH INT 21H MAIN ENDP ; INPUT PROC NEAR PUSH DX MOV AH,0AH LEA DX,DATA2 INT 21H MOV AH,DATA2+2 MOV AL,DATA2+3 XOR AX,3030H CMP AH,00H JZ RETURN SUB AH,AH ADD AL,10 RETURN:POP DX RET INPUT ENDP ; LOCATE PROC NEAR PUSH SI PUSH DI PUSH CX LEA SI,MONTAB DEC AL MUL DATA1 ADD SI,AX MOV CX,03H CLD LEA DI,ALFMON REP MOVSB POP CX POP DI POP SI RET LOCATE ENDP ; DISPLAY PROC PUSH DX LEA DX,ALFMON MOV AH,09H INT 21H POP DX RET DISPLAY ENDP ; CSEG ENDS END START


【文件预览】:
例题习题
----F4_20.ASM(477B)
----E4_20.ASM(458B)
----E4_13.ASM(1KB)
----F4_12.ASM(521B)
----F4_24.ASM(2KB)
----F4_10.ASM(640B)
----F4_17.ASM(1KB)
----F4_21.ASM(572B)
----F4_15.ASM(553B)
----F4_23.ASM(1KB)
----F4_14.ASM(724B)
----F4_19.ASM(766B)
----F4_22.ASM(618B)
----F4_16.ASM(975B)
----F4_11.ASM(643B)

网友评论