Assembly Language Programming
Computer Organization, Programming in Assembly, Microprocessor, Microcontroller
Wednesday, 22 March 2017
Monday, 20 March 2017
Li-Fi Wireless Technology , diff between Wi-Fi And Li-Fi
Li-Fi means Light Fidelity.
Li-Fi is a Visible Light Communications (VLC) system running wireless communications travelling at very high speeds.
Li-Fi uses common household LED (light emitting diodes) lightbulbs to enable data transfer, boasting speeds of up to 224 gigabits per second.
Difference between Li-Fi and Wi-Fi
Wi-Fi uses radio waves to transfer the data while Li-Fi runs on visible light.
Li-Fi provides 224GB/S gigabits per second leaves Wi-Fi in the dust, Li-Fi's exclusive use of visible light could halt a mass uptake.
Data Trasfer of both device is similar in Li-Fi while Data Transfer Speed is shared by other device in the Wi-Fi.
Li-Fi signals cannot pass through walls, so in order to enjoy full connectivity, capable LED bulbs will need to be placed throughout the home.
Who are trying to Use Li-Fi?
The first VLC smartphone prototype was presented at the Consumer Electronics Show in Las Vegas from January 7–10 in 2014. The phone uses SunPartner's Wysips CONNECT, a technique that converts light waves into usable energy, making the phone capable of receiving and decoding signals without drawing on its battery.
Samsung is a brand which entertaining this Li-Fi technology.
'LiFiCapability' hinting that Apple may integrate Li-fi with iPhones in the future.
Whether or not Li-Fi will live up to its hype is yet to be decided.
Watch this space...
Thursday, 16 March 2017
Computer Progrmming classes in Vadodara, Gujarat
Computer Education
Degree Engineering in Computer Science coachjng classes in Vadodara. IT engg classes in Gujarat. Diploma in COMPUTER , Diploma in Information Technology.
BCA , MCA classes for C language , C++ Programming, Asp.net Training, Java language, DBMS, Datastructure(DS), MicroProcessor, Computer Organization, Advanced Java, Advanced Asp.net, Web Technology (WT), last year PROJECT TRAINING center in Vadodara.
For more details of 12th science students vacation batch for CPU visit our Center in Vadodara.
Our Location:
120-121, Gangotri Complex,
GOTRI Road,
VADODARA.
CALL : 9726185104
WEBSITE : http://www.vataliyatuitionclasses.com
Tuesday, 15 December 2015
Find largest number from an array
Initializing array using Assembly Language Code.
One example is given For Creating an array having 10 elements and find the largest number or element from the array itself.
DATA SEGMENT
ARR DB 1,4,2,3,9,8,6,7,5,3
LEN DW $-ARR
LARGE DB ?
DATA ENDS
CODE SEGMENT
START:
MOV AX,DATA
MOV DX,AX
LEA SI,ARR
MOV AL,ARR[SI]
MOV LARGE,AL
MOV CX,LEN
REPEAT:
MOV AL,ARR[SI]
CMP LARGE,AL
JG NOCHANGE
MOV LARGE,AL
NOCHANGE:
INC SI
LOOP REPEAT
MOV AH,4CH
INT 21H
CODE ENDS
END START
Output : The largest element is 9.
Sunday, 13 December 2015
Assembly Program Prints The Alphabets
stack segment
stack ends
data segment
data ends
code segment
mov ah,02h
mov cx,26
mov dl,65
lop:
int 21h
add dl,1
loop lop
mov ax,4c00h
int 21h
code ends
end
Explanation of the code
CX is the counter resister which is decreases it's value by 1 every iteration of the loop "lop".
Hence Loop will be executed for 26 times and all the alphabets are printed using dl resister.
dl resister's value is 65, the ascii code for character 'A'.
Add dl,1; statement increase it's value by one to 'B' then increase by one to 'C' upto 26 times it prints all the alphabets A to Z.
Note:
For Printing Lower case Alphabets.
initialize dl by 97 - ascii code of 'a'.
Find the average of three values stored in locations named FIRST, SECOND and THIRD and puts the result in the memory location AVGE
Write a program using 8086 assembly language to find the average of three values stored in locations named FIRST, SECOND and THIRD and puts the result in the memory location AVGE.
Prepared By Hitesh Vataliya
Assembly Program Code
FIRST DB 5
SECOND DB 9
THIRD DB 7
AVGE DB ?
ENDS
CODE SEGMENT
START:
MOV AX,DATA
MOV DX,AX
MOV AL,FIRST
ADD AL,SECOND
ADD AL,THIRD
MOV AH,0
MOV DL,3
DIV DL
MOV AVGE,AL
MOV AX,4C00H
INT 21H
ENDS
END START
Saturday, 12 December 2015
Largest number among Three No
data segment
s1 db "a is greater","$"
s2 db "b is greater","$"
s3 db "c is greater","$"
a db 05
b db 10
c db 15
ends
stack segment
dw 128 dup(0)
ends
code segment
start:
mov ax,@data
mov ds,ax
mov al,a
mov bl,b
mov cl,c
cmp al,bl
jc bgt
mov ah,09
mov dx,offset s1
int 21h
bgt:
mov ah,09
mov dx,offset s2
int 21h
jmp exit1
cmp al,cl
jc cgt
mov ah,09
mov dx,offset s1
int 21h
cgt:
mov ah,09
mov dx,offset s3
int 21h
jmp exit1
cmp bl,cl
jc agt
mov ah,09
mov dx,offset s2
int 21h
agt:
mov ah,09
mov dx,offset s3
int 21h
exit1:
mov ax, 4c00h
int 21h
ends
end start