Home » Post Item » Lowercase to Uppercase Converter (Single Character only)
Previous Comments
bagag nawng oh . haha .
Posted by martear at September 20, 2010, 12:38 pmaw pag sur jacx oi kadali lng ana .. piece of cake ..
Posted by aw at September 20, 2010, 12:38 pmaw…. dali lng btaw..knxa ingon lisod,,
Posted by jacx at September 20, 2010, 12:40 pmpwede po ba eung xlat ang gamitin dito sa program..can i have it..tnx
Posted by marlyn at September 30, 2010, 10:33 amhello there po.. ahm can i ask po kung pano gumawa ng program para po maging resident yung file???
di daw po kc supported ung nstruction..
Posted by sarah at October 2, 2010, 11:05 amsaka po kung pano irename ang resident file tulad ng program files or ung microsoft office po… thank po..
Posted by sarah at October 2, 2010, 11:06 ameow poh pwde help me the code of upper case to lower case with more than single string please poh.,.,.,.,.,pki send n lang poh sa e-mail ko kng maaari poh.,.,.thx.,.,poh
Posted by jaymar andres at October 3, 2010, 8:18 pmCAN U DESPLAY THE COde
Posted by bajao at October 14, 2010, 4:03 pm….kung gusto mo nang multistring ehh di mag loop ka…gamitan mo nang array…..
Posted by chrIstiNe at December 7, 2010, 7:59 pmhello…i nid help…new lang ako sa TASm at hindi ko alam kung papaano gagawin yung program n ang output ay logo….pa help naman po…tnx
Posted by Red at December 16, 2010, 10:38 amBoss need help po, same then yung problem pero gamit namin simple na jmp na command…
\ito yung sample ko na may mali pa
jmp msg
msg1 db 13,10,”Enter alphabet letter: $”
msg2 db 13,10,”Converted to: $”
msg3 db 13,10,”Invaled INput!!!$”
msg:
mov ah, 09h
mov dx, offset msg1
int 21h
mov ah, 01h
int 21h
mov ah, 09h
cmp al, 65
JGE first
jmp invalid
first:
cmp al, 90
JLE small
cmp al, 97
JGE second
jmp msg
Small:
add al, 32
jmp display
second:
cmp al, 122
JLE big
jmp msg
big:
sub al, 32
display:
mov bl, al
mov ah, 09h
mov dx, offset msg2
mov dl, bl
int 21h
int 20h
invalid:
mov ah, 09h
mov dx, offset msg3
int 21h
int 20h
Posted by Dexter at January 24, 2011, 10:47 amhello po san mkuha mkta ang codes nito pde mkta ..tnx pohh .ned sa project kac
Posted by alvin at March 6, 2011, 1:55 pmask lang panu kung gusto ko na output eh lower case? edi magiging ganito pag nag insert ako ng uppercase icoconvert nya ng lower case? at papaano naman kung gagawin kong 5 letters ang iinsert ko , hindi 1?
Posted by Skid at March 15, 2011, 9:31 pmhello po.. can i ask if pano ba kinoconvert ang lower case to upper?? need po sa defense namin further explanations lng po…
Posted by XinJin at May 15, 2011, 11:19 pmsir, i can’t instal assembly language in my pc since last year
Posted by wafiullah at June 9, 2011, 8:14 pmcan I ask?pano mag’gawa ng program nah ang output niya ay my MENU using up and down bottom..tnx poh!!
Posted by Neneth at August 2, 2011, 2:32 pm.MODEL SMALL
.STACK 100
.DATA
CR EQU 0DH
LF EQU 0AH
MSG1 DB ‘Enter 20 character in lower case letter: ‘,’$’
MSG2 DB CR, LF, ‘ in upper case is: ‘
Char DB ?,’$’
.CODE
.STARTUP
LEA DX,MSG1
MOV AH,9
INT 21H
MOV AH, 1
INT 21H
SUB AL, 20H
MOV CHAR,AL
LEA DX, MSG2
MOV AH, 09H
INT 21H
.EXIT
END
e2 sakin and it works one letter nga lang
;NOTE: ASCII characters
;A - Z = 41h - 5Ah
;a - z = 61h - 7Ah
;0 - 9 = 30h - 39h
jmp start
msg1 db ‘Author: Giernhel Mejias$’
msg2 db ‘Program: STRING CONVERT TO lowercase$’
msg3 db ‘Output: $’
str1 db ‘Giernhel Mejias’
start:
mov ax,0700h
mov bx,0700h
mov cx,0h
mov dh,18h
mov dl,4fh
int 10h
mov ax,0200h
mov bx,0h
mov cx,0h
mov dh,00h
mov dl,00h
int 10h
mov ah,09h
lea dx,msg1
int 21h
mov ax,0200h
mov bx,0h
mov cx,0h
mov dh,01h
mov dl,00h
int 10h
mov ah,09h
lea dx,msg2
int 21h
mov ax,0200h
mov bx,0h
mov cx,0h
mov dh,03h
mov dl,00h
int 10h
mov ah,09h
lea dx,msg3
int 21h
mov cl,0fh
mov bp,0
myloop:
cmp str1[bp],7Ch
jle convertToLowerCase
ret_ctl:
mov ah,02h
mov dl,str1[bp]
int 21h
inc bp
loop myloop
quit:
mov ax,0200h
mov bx,0h
mov cx,0h
mov dh,17h
mov dl,00h
int 10h
mov ah,4ch
int 21h
convertToLowerCase:
sub str1[bp],20h
jmp ret_ctl
lahat po mg ;etters ay magiging small… huhuuhu.. i need na.. help me..plss..
Posted by ingkel at September 10, 2011, 9:02 pmthank you so much…this site is so helpful…
but can i ask where can i download a “emu8086.inc” coz one of your program include this..thanks



asan ang pde makuha ang codes nito?
Posted by jacx at September 20, 2010, 12:18 pm