Friday, February 24, 2017

Phonetics

Click Here to Download All Audio Tutorials : Download

IELTS Speaking - BBC Bangla Fluent Speaking

Assembly Program to Check Input is Digit , Capital letter or Others.

 org 100h
.data
msg1 db 'capital$'
msg2 db 'digital$'
msg3 db 'others$'

.code

main proc

;input

mov ah, 01h
int 21h

mov bl, al   ; move A to bl register


cmp bl, 30h  ; compare bl with ascii value of 01
jge print    ; if greater or equal jump to label print

print:       ; label print

cmp bl, 39h  ; compare bl with ascii value of 09
jle print1   ; if less or equal jump to label print1
jg end       ; if greater or equal jump to label print


; new line

mov ah, 02h    ; character output function
mov dl, 0Ah    ; line feed
int 21h        ; dos interrupt
mov dl ,0Dh    ; Carriage return
int 21h        ; dos interrupt
       
print1:
mov ax, @data
mov ds, ax
mov ah, 09h
lea dx, msg2
int 21h
ret

end:

cmp bl, 41h
jge print2

print2:
cmp bl, 5Ah
jle print3
jge end1

print3:
mov ax, @data
mov ds, ax
mov ah, 09h
lea dx, msg1
int 21h
ret

end1:
mov ax, @data
mov ds, ax
mov ah, 09h
lea dx, msg3
int 21h
ret


     
main endp
endp

Saturday, February 18, 2017

Assembly Program for Addition two numbers. Number Between 0-9.


  • Assembly Code for Addition  of 1 digit number(0-9).



org 100h

; Addition  of 1 digit

.code
; input 1

mov ah, 01h  ; first character input function
int 21h

mov bl, al   ; move the content of al (1st number) to bl register 

; new line

mov ah, 02h  ; character ouput function
mov dl, 0Ah  ; line feed
int 21h
mov dl, 0Dh  ; carriage return
int 21h

; Input 2

mov ah, 01h   ; second character input function
int 21h
mov cl, al    ; move the content of al (2nd number) to cl register
add bl, cl    ; addition of two numbers 

; Newline

mov ah, 02h  ; character ouput function
mov dl, 0Ah  ; line feed
int 21h
mov dl, 0Dh  ; carriage return
int 21h

; Output

sub bl, 30h  ; convert to real number entered
mov dl, bl   ; move the content of bl (2nd number) to dl register
int 21h  

endp

ret

Assembly Code to Solve the Equation 3A+B-2C.

1. Assembly Code to Solve the Equation 3A+B-2C.


 org 100h 


.code

main proc

; input 1

mov ah, 01h  ; Input A
int 21h 

mov bl, al   ; move A to bl register


add bl, al   ; 2A
add bl, al   ; 3A
            
            
; input 2 

mov ah, 01h   ; Input B
int 21h
mov cl, al    ; move B to cl register

add bl, cl    ; 3A+B

; input 3

mov ah, 01h    ; Input C
int 21h
mov cl, al     ; move C to cl register

add cl, al     ; 2C
sub bl, cl     ; 3A+B-2C

; new line

mov ah, 02h
mov dl, 0Ah    ; line feed
int 21h
mov dl ,0Dh    ; Carriage return
int 21h 


; Output 

sub bl, 30h    ;convert to real number entered 
mov dl ,bl  
int 21h
        
main endp
endp

How to Write Summary of a Research Paper

Paper Summary should contain the following points: What problem author’s solved? What are the motivations for that problem? Why is it import...