Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode OS program
Title: zxc Download
 Description: Lowercase letters variable capital letters (compiled language) (2008-05-14 21:57:52) Tags: Talking DATA SEGMENT PMT1 DB INPUT Small letter:, 0AH, 0DH, $ STR1 DB 40H, 0,40 H DUP (0 ) PMT2 DB 0AH, 0DH, Display capital letter:, 0AH, 0DH STR2 DB 40H DUP (0), $ DATA ENDSSTACK1 SEGMENT PARA STACK DW 20h DUP (0) STACK1 ENDSCODE SEGMENT ASSUME CS: CODE, DS: DATASTART: MOV DX, DATA MOV DS, DX MOV DX, OFFSET PMT1 MOV AH, 09H prompted to enter lowercase characters INT 21H MOV DX, OFFSET STR1 MOV AH, 0AH enter lowercase characters INT 21H MOV CL, STR1+ 1 MOV CH, 0 LEA SI, STR1+ 2 LEA DI, STR2 LOP: MOV AL, [SI] SUB AL, 20H MOV [DI], AL INC SI INC DI LOOP LOP MOV DX, OFFSET PMT2 MOV AH, 09H output capital letters INT 21H MOV AH, 4CH INT 21HCODE ENDSEND START
 Downloaders recently: [More information of uploader 32111111]
 To Search:
  • [3] - Simple assembly language program design
File list (Check if you may need any files):
新建 文本文档.txt
    

CodeBus www.codebus.net